diff --git a/jquery.flot.js b/jquery.flot.js index b82a2ad..1216768 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -2450,7 +2450,7 @@ Licensed under the MIT license. function onMouseMove(e) { if (options.grid.hoverable) triggerClickHoverEvent("plothover", e, - function (s) { return !!s["hoverable"]; }); + function (s) { return s["hoverable"] != false; }); } function onMouseLeave(e) { @@ -2461,7 +2461,7 @@ Licensed under the MIT license. function onClick(e) { triggerClickHoverEvent("plotclick", e, - function (s) { return !!s["clickable"]; }); + function (s) { return s["clickable"] != false; }); } // trigger click or hover event (they send the same parameters