ui: clean scroll handler part (it's been handling only zoom for a long time already)

This commit is contained in:
jean-emmanuel 2016-11-30 18:35:04 +01:00
parent 57a6d4e61b
commit 768c1ea507

View file

@ -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)