Skip to content

Commit

Permalink
Merge pull request #9 from shimondoodkin/revert-5-Fix-#285.-Remove-mo…
Browse files Browse the repository at this point in the history
…useTrack-only-when-one-exists

Revert "Fix HumbleSoftware#285. Remove mouseTrack only when one exists"
  • Loading branch information
shimondoodkin committed Apr 6, 2018
2 parents ed4d2c7 + 7bd80ab commit 28c1ab4
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 28c1ab4

Please sign in to comment.