mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-21 21:01:51 +00:00
Corrected grammar for a comment in my previous checkin.
This commit is contained in:
parent
0927ddfe3e
commit
16bea21a1c
1 changed files with 6 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue