Skip to content

Commit b2e3290

Browse files
committed
Bubbles view - using mouseenter/leave rather than mouseover/out.
1 parent d60aad0 commit b2e3290

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

js/dico/d3-bubbles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Bubbles.prototype.setData = function(data){
7878
.attr("cy", function (d) { return d.y; })
7979
.attr("r", function (d) { return d.radius; })
8080
.style("fill", function (d) { return that.fill(d[that.colorFieldId]); })
81-
.on("mouseover", showPopover)
82-
.on("mouseout", removePopovers);
81+
.on("mouseenter", showPopover)
82+
.on("mouseleave", removePopovers);
8383

8484
this.nodes
8585
.attr('data-mid', function (d) { return d.id;});

0 commit comments

Comments
 (0)