From 16bea21a1c85f8e2d49ed0208c3409469496dd10 Mon Sep 17 00:00:00 2001 From: Kin Blas Date: Thu, 31 Mar 2011 09:33:05 -0700 Subject: [PATCH] Corrected grammar for a comment in my previous checkin. --- js/jquery.mobile.navigation.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/js/jquery.mobile.navigation.js b/js/jquery.mobile.navigation.js index 607ee5c2..006694de 100644 --- a/js/jquery.mobile.navigation.js +++ b/js/jquery.mobile.navigation.js @@ -718,9 +718,12 @@ //path.get() is replaced to combat abs url prefixing in IE if( url.replace(path.get(), "") == "#" ){ //for links created purely for interaction - ignore - //we'll let our live "click" handler call event.preventDefault() - //on this event so that 3rd party code clicks handlers can - //get called. + //don't call preventDefault on the event here, vclick + //may have been triggered by a touchend, before any moues + //click event was dispatched and we want to make sure + //3rd party onclick handlers get triggered. If and when + //a mouse click event is generated, our live("click") handler + //will get triggered and do the preventDefault. return; }