ui: clean scroll handler part (it's been handling only zoom for a long time already)
This commit is contained in:
parent
57a6d4e61b
commit
768c1ea507
1 changed files with 1 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue