mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-19 05:41:00 +00:00
removed default click simulator now that listviews no longer tricker clicks.
This commit is contained in:
parent
ec3d6d6489
commit
f7d04750c5
1 changed files with 2 additions and 10 deletions
|
|
@ -712,16 +712,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