mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 09:04:43 +00:00
removed default click simulator now that listviews no longer tricker clicks.
This commit is contained in:
parent
f8e406dd7f
commit
9a4663073d
1 changed files with 2 additions and 10 deletions
|
|
@ -711,16 +711,8 @@
|
|||
//remove active link class if external (then it won't be there if you come back)
|
||||
window.setTimeout(function() {removeActiveLinkClass(true);}, 200);
|
||||
|
||||
//deliberately redirect, in case click was triggered
|
||||
if( hasTarget ){
|
||||
window.open( url );
|
||||
}
|
||||
else if( hasAjaxDisabled ){
|
||||
return;
|
||||
}
|
||||
else{
|
||||
location.href = url;
|
||||
}
|
||||
//use default click handling
|
||||
return;
|
||||
}
|
||||
else {
|
||||
//use ajax
|
||||
|
|
|
|||
Loading…
Reference in a new issue