Fix broken behavior for interacting demo

pull/1/head
Arpan Chinta 14 years ago
parent fa025fab91
commit 91f6b6ae40

@ -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

Loading…
Cancel
Save