From 768c1ea50780caad1998f8179b8c6a69b1736a0b Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 30 Nov 2016 18:35:04 +0100 Subject: [PATCH] ui: clean scroll handler part (it's been handling only zoom for a long time already) --- src/browser/js/app/ui.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/browser/js/app/ui.js b/src/browser/js/app/ui.js index 2fe1bca7..c5ab490e 100644 --- a/src/browser/js/app/ui.js +++ b/src/browser/js/app/ui.js @@ -31,10 +31,7 @@ var tabs = function() { $('li[data-tab]').first().click() } -// horizontal scrolling & zoom with mousewheel -// if shift is pressed (native), or if there is no vertical scrollbar, -// or if mouse is on h-scrollbar -var scrollbarHeight = 20 +// zoom zoom var scrolls = function(){ $('html').on('mousewheel.zoom',function(e) { // console.log(e)