From: Fabii547 Date: Mon, 11 May 2020 15:56:24 +0000 (+0200) Subject: Fix typo in iOS platform detection X-Git-Tag: 5.2.7~54^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab5b764baee3b088571f4a9fd2f842f417205f4c;p=GitHub%2FWoltLab%2FWCF.git Fix typo in iOS platform detection --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js index 0768db8fd1..184b46d559 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js @@ -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'; }