From 1dd0c00def3ab4da6bf4dc124d84096f87e97200 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 14 Apr 2013 14:54:15 +0200 Subject: [PATCH] Disabled scroll blocking for touch devices --- wcfsetup/install/files/js/WCF.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index a0bff75e4e..bf102718fa 100755 --- 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'); -- 2.20.1