Commit 5594e338 authored by vird's avatar vird

Update jquery.flot.navigate.js

BUGFIX navigation wheel scrolls page.
parent a2503c2e
...@@ -135,6 +135,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L ...@@ -135,6 +135,7 @@ Licensed under the MIT License ~ http://threedubmedia.googlecode.com/files/MIT-L
} }
function onMouseWheel(e, delta) { function onMouseWheel(e, delta) {
e.preventDefault();
onZoomClick(e, delta < 0); onZoomClick(e, delta < 0);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment