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:
16c1f48
)
Disabled scroll blocking for touch devices
author
Alexander Ebert
<ebert@woltlab.com>
Sun, 14 Apr 2013 12:54:15 +0000
(14:54 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Sun, 14 Apr 2013 12:54:15 +0000
(14:54 +0200)
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 a0bff75e4efa3af677c59c44611e722fd6e7b542..bf102718fa0a094826e7ab891847c5ad6bb2099f 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-5400,6
+5400,11
@@
WCF.System.DisableScrolling = {
* Disables scrolling.
*/
disable: function () {
+ // do not block scrolling on touch devices
+ if ($.browser.touch) {
+ return;
+ }
+
if (this._depth === 0) {
this._oldOverflow = $(document.body).css('overflow');
$(document.body).css('overflow', 'hidden');