summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-07-21 17:03:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-13 15:45:56 +0200
commitfe2710f60b95e5c849f8d26c72ea431aad3eea43 (patch)
treeb69d091504273423a9978348c73b2165cfb3f250
parent5296ef64cc58bbaf4cca715cd47bc37a6c1a3e69 (diff)
downloadnextcloud-server-fe2710f60b95e5c849f8d26c72ea431aad3eea43.tar.gz
nextcloud-server-fe2710f60b95e5c849f8d26c72ea431aad3eea43.zip
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 401295244cf..ac6e9e6bf74 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1147,7 +1147,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(){