mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
[3.14] gh-128627: Emscripten: Add missing semicolon in ios detection code (GH-135590) (#135592)
(cherry picked from commit 68b7e1a667
)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
This commit is contained in:
parent
a2c4791d99
commit
d62b73a9d8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue