Fix typo in iOS platform detection
authorFabii547 <Fabii547@users.noreply.github.com>
Mon, 11 May 2020 15:56:24 +0000 (17:56 +0200)
committerFabii547 <Fabii547@users.noreply.github.com>
Mon, 11 May 2020 15:56:24 +0000 (17:56 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js

index 0768db8fd1482b29779a03511f257b6322e3b486..184b46d55923a5d7f8c0ac1df85da6fc6cd6768b 100644 (file)
@@ -70,7 +70,7 @@ define([], function() {
                        _touch = (!!('ontouchstart' in window) || (!!('msMaxTouchPoints' in window.navigator) && window.navigator.msMaxTouchPoints > 0) || window.DocumentTouch && document instanceof DocumentTouch);
                        
                        // The iPad Pro 12.9" masquerades as a desktop browser.
-                       if (window.navigator.platform === 'macIntel' && window.navigator.maxTouchPoints > 1) {
+                       if (window.navigator.platform === 'MacIntel' && window.navigator.maxTouchPoints > 1) {
                                _browser = 'safari';
                                _platform = 'ios';
                        }