Created
July 24, 2016 09:15
-
-
Save loentar/543e0400729a6febc05040b955ce205d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- jquery.flot.pie.js.orig 2016-07-24 11:58:39.000000000 +0300 | |
+++ jquery.flot.pie.js 2016-07-24 12:00:15.496113223 +0300 | |
@@ -126,6 +126,7 @@ | |
if (options.grid.clickable) { | |
eventHolder.unbind("click").click(onClick); | |
} | |
+ eventHolder.unbind("mouseout").mouseout(onMouseOut); | |
} | |
}); | |
@@ -649,6 +650,10 @@ | |
triggerClickHoverEvent("plotclick", e); | |
} | |
+ function onMouseOut(e) { | |
+ unhighlight(); | |
+ } | |
+ | |
// trigger click or hover event (they send the same parameters so we share their code) | |
function triggerClickHoverEvent(eventname, e) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment