Commit 4880f45d authored by David Schnur's avatar David Schnur

Merge pull request #899 from arpancj/master

Issue: #890: Fix broken behavior for interacting demo
parents 5b966071 91f6b6ae
...@@ -2448,7 +2448,7 @@ Licensed under the MIT license. ...@@ -2448,7 +2448,7 @@ Licensed under the MIT license.
function onMouseMove(e) { function onMouseMove(e) {
if (options.grid.hoverable) if (options.grid.hoverable)
triggerClickHoverEvent("plothover", e, triggerClickHoverEvent("plothover", e,
function (s) { return !!s["hoverable"]; }); function (s) { return s["hoverable"] != false; });
} }
function onMouseLeave(e) { function onMouseLeave(e) {
...@@ -2459,7 +2459,7 @@ Licensed under the MIT license. ...@@ -2459,7 +2459,7 @@ Licensed under the MIT license.
function onClick(e) { function onClick(e) {
triggerClickHoverEvent("plotclick", 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 // 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