From ab5b764baee3b088571f4a9fd2f842f417205f4c Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Mon, 11 May 2020 17:56:24 +0200 Subject: [PATCH] Fix typo in iOS platform detection --- wcfsetup/install/files/js/WoltLabSuite/Core/Environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.20.1