Skip to content

Commit

Permalink
Revert "Fix HumbleSoftware#285. Remove mouseTrack only when one exists"
Browse files Browse the repository at this point in the history
  • Loading branch information
shimondoodkin committed Apr 6, 2018
1 parent ed4d2c7 commit 7bd80ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/plugins/hit.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flotr.addPlugin('hit', {
}
},
'flotr:destroy': function() {
if (this.options.mouse.container&&this.mouseTrack) {
if (this.options.mouse.container) {
D.remove(this.mouseTrack);
}
this.mouseTrack = null;
Expand Down

0 comments on commit 7bd80ab

Please sign in to comment.