Skip to content

Commit a36397b

Browse files
committed
Pop the blocked click event from the block list once we've block it once
1 parent 123402c commit a36397b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/jquery.mobile.vmouse.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,10 +471,9 @@ if ( eventCaptureSupported ) {
471471
|| ( ele === target && Math.abs( o.x - x ) < threshold && Math.abs( o.y - y ) < threshold )
472472
|| $.data( ele, touchTargetPropertyName ) === o.touchID ) {
473473

474-
// XXX: We may want to consider removing matches from the block list
475-
// instead of waiting for the reset timer to fire.
476474
e.preventDefault();
477475
e.stopPropagation();
476+
clickBlockList.splice( i, 1 );
478477
return;
479478
}
480479
}

0 commit comments

Comments
 (0)