summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-12 23:20:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-12 23:20:08 +0200
commit6f909b19cc8f9a264921289f2d6e80a5be919037 (patch)
tree1a8113c8828afb142bd2b0eb26aab2fabfd05fb4
parent9872411909dba8430526a5dca36fb5bd46fcf0d5 (diff)
parentdb40682b1fedff7ae1d906d62ebae032a460836d (diff)
downloadnextcloud-server-6f909b19cc8f9a264921289f2d6e80a5be919037.tar.gz
nextcloud-server-6f909b19cc8f9a264921289f2d6e80a5be919037.zip
Merge pull request #17785 from owncloud/snapjs-sensitivity
fix mobile scrolling, lower sidebar sensitivity, fix #11193
-rw-r--r--core/js/js.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 89bb9a71430..7c1e13a8191 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1352,7 +1352,8 @@ function initCore() {
var snapper = new Snap({
element: document.getElementById('app-content'),
disable: 'right',
- maxPosition: 250
+ maxPosition: 250,
+ minDragDistance: 100
});
$('#app-content').prepend('<div id="app-navigation-toggle" class="icon-menu" style="display:none;"></div>');
$('#app-navigation-toggle').click(function(){