projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b06a2c
)
Fixed touch-detection for Mobile IE10 (Windows Phone 8)
author
Alexander Ebert
<ebert@woltlab.com>
Sat, 2 Nov 2013 20:54:55 +0000
(21:54 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Sat, 2 Nov 2013 20:54:55 +0000
(21:54 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 95f8f58f28e979aa9243ba547a455639361b43b7..3d904299f2797a81f5a29885b8a8559f6865a0ed 100755
(executable)
--- 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) ||
!!('msmaxtouchp
oints' in window.navigator));
+ jQuery.browser.touch = (!!('ontouchstart' in window) ||
('msMaxTouchP
oints' in window.navigator));
// detect smartphones
jQuery.browser.smartphone = ($('html').css('caption-side') == 'bottom');