diff --git a/src/mousetracker.js b/src/mousetracker.js index 4e96d23b..8c811326 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1400,8 +1400,10 @@ * @function */ removeContact: function() { - if ( this.contacts > 0 ) { - --this.contacts; + --this.contacts; + + if (this.contacts < 0) { + this.contacts = 0; } } };