diff --git a/js/plugins/hit.js b/js/plugins/hit.js index 19d0d4bb..4ddd208a 100644 --- a/js/plugins/hit.js +++ b/js/plugins/hit.js @@ -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;