Skip to content

Commit

Permalink
Update jquery.flot.navigate.js
Browse files Browse the repository at this point in the history
BUGFIX navigation wheel scrolls page.
  • Loading branch information
vird committed Apr 19, 2013
1 parent a2503c2 commit 5594e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.flot.navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
}

function onMouseWheel(e, delta) {
e.preventDefault();
onZoomClick(e, delta < 0);
return false;
}
Expand Down

0 comments on commit 5594e33

Please sign in to comment.