diff --git a/src/mousetracker.js b/src/mousetracker.js index a6a600d0..8c811326 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1403,7 +1403,6 @@ --this.contacts; if (this.contacts < 0) { - $.console.warn('GesturePointList.removeContact() Implausible contacts value'); this.contacts = 0; } } @@ -2823,10 +2822,7 @@ // If child element relinquishes capture to a parent we may get here // from a pointerleave event while a pointerup event will never be received. // In that case, we'll clean up the contact count - if ( (pointsList.type === 'mouse' || pointsList.type === 'pen') && - pointsList.contacts > 0 ) { - pointsList.removeContact(); - } + pointsList.removeContact(); listLength = pointsList.removeById( gPoint.id ); } else {