diff --git a/jquery.flot.pie.js b/jquery.flot.pie.js index ed01cf2..4b1a074 100644 --- a/jquery.flot.pie.js +++ b/jquery.flot.pie.js @@ -607,12 +607,9 @@ More detail and specific examples can be found in the included HTML file. } } - // if no slice was found, quit - if (!item) - return; - // highlight the slice - highlight(item.series, eventname); + if (item) + highlight(item.series, eventname); // trigger any hover bind events var pos = { pageX: e.pageX, pageY: e.pageY }; @@ -750,4 +747,4 @@ More detail and specific examples can be found in the included HTML file. name: "pie", version: "1.0" }); -})(jQuery); \ No newline at end of file +})(jQuery);