Fix bug with unhighlighting slices (fix by Johan Sall Larson)

git-svn-id: https://flot.googlecode.com/svn/trunk@279 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent df745474c3
commit 4363320767

@ -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);
})(jQuery);

Loading…
Cancel
Save