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:
2f86b18
)
Removed a forced reflow that effectively did nothing
author
Alexander Ebert
<ebert@woltlab.com>
Thu, 27 Jan 2022 13:35:59 +0000
(14:35 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Thu, 27 Jan 2022 13:35:59 +0000
(14:35 +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 375c435ddf515181c86280cdbc2899dec5750ae5..a5b09fc9c1143f2cd619e1e52748ee0c9912b126 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-136,7
+136,8
@@
window.shuffle = function(array) {
jQuery.browser.touch = (!!('ontouchstart' in window) || (!!('msMaxTouchPoints' in window.navigator) && window.navigator.msMaxTouchPoints > 0));
// detect smartphones
- jQuery.browser.smartphone = ($('html').css('caption-side') == 'bottom');
+ // @deprecated 5.5 The previous check always yielded false, the property is kept for compatibility only.
+ jQuery.browser.smartphone = false;
// properly detect IE11
if (jQuery.browser.mozilla && ua.match(/trident/)) {