gh-128627: Emscripten: Add missing semicolon in ios detection code (#135590)
This commit is contained in:
@@ -80,7 +80,7 @@ function getPyEMCountArgsPtr() {
|
|||||||
// To differentiate, we check if the platform is 'MacIntel' (common for Macs and newer iPads)
|
// To differentiate, we check if the platform is 'MacIntel' (common for Macs and newer iPads)
|
||||||
// AND if the device has multi-touch capabilities (navigator.maxTouchPoints > 1)
|
// AND if the device has multi-touch capabilities (navigator.maxTouchPoints > 1)
|
||||||
(navigator.platform === 'MacIntel' && typeof navigator.maxTouchPoints !== 'undefined' && navigator.maxTouchPoints > 1)
|
(navigator.platform === 'MacIntel' && typeof navigator.maxTouchPoints !== 'undefined' && navigator.maxTouchPoints > 1)
|
||||||
)
|
);
|
||||||
if (isIOS) {
|
if (isIOS) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user