From 6bfcae5bc52d0eeb4c0177851d2a8fbbaae6f429 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 2 Nov 2013 21:57:08 +0100 Subject: [PATCH] typo --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3d904299f2..8f01cdcef8 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -133,7 +133,7 @@ String.prototype.hashCode = function() { } jQuery.browser = browser; - jQuery.browser.touch = (!!('ontouchstart' in window) || ('msMaxTouchPoints' in window.navigator)); + jQuery.browser.touch = (!!('ontouchstart' in window) || !!('msMaxTouchPoints' in window.navigator)); // detect smartphones jQuery.browser.smartphone = ($('html').css('caption-side') == 'bottom'); -- 2.20.1