Commit 91f6b6ae authored by Arpan Chinta's avatar Arpan Chinta

Fix broken behavior for interacting demo

parent fa025fab
......@@ -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
......
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