Skip to content

Commit 9b4a750

Browse files
committed
don't animate areas and plots in the legend on mouse hover
1 parent e36153f commit 9b4a750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mapael.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
// Hide/show elements when user clicks on a legend element
558558
label.attr({cursor:'pointer'});
559559

560-
$.fn.mapael.setHoverOptions(elem, legendOptions.slices[i].attrs, legendOptions.slices[i].attrsHover);
560+
$.fn.mapael.setHoverOptions(elem, legendOptions.slices[i].attrs, legendOptions.slices[i].attrs);
561561
$.fn.mapael.setHoverOptions(label, legendOptions.labelAttrs, legendOptions.labelAttrsHover);
562562
$.fn.mapael.setHover(paper, elem, label);
563563

0 commit comments

Comments
 (0)