gh-128627: Emscripten: Add missing semicolon in ios detection code (#135590)

This commit is contained in:
Hood Chatham 2025-06-16 16:17:17 -07:00 committed by GitHub
parent 730133a0ac
commit 68b7e1a667
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,7 +80,7 @@ function getPyEMCountArgsPtr() {
// 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)
(navigator.platform === 'MacIntel' && typeof navigator.maxTouchPoints !== 'undefined' && navigator.maxTouchPoints > 1)
)
);
if (isIOS) {
return 0;
}