Fixed typo in my last checkin for converting tap to virtual mouse events. It was preventing tap from actually firing so things like the cancel button link in a search textfield was being followed.

This commit is contained in:
Kin Blas 2011-03-11 16:12:58 -08:00
parent b00d05b81c
commit b0a667ae44

View file

@ -90,7 +90,7 @@ $.event.special.tap = {
/* ONLY trigger a 'tap' event if the start target is
* the same as the stop target.
*/
if ( !origTarget == event.target ) {
if ( origTarget == event.target ) {
triggerCustomEvent( thisObject, "tap", event );
}
}