mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-30 02:44:44 +00:00
null hrefs should just preventDefault and return, rather than returning false. Fixes #1118
This commit is contained in:
parent
00a8082acc
commit
b6b7aebe14
1 changed files with 2 additions and 1 deletions
|
|
@ -659,7 +659,8 @@
|
|||
|
||||
if( url === "#" ){
|
||||
//for links created purely for interaction - ignore
|
||||
return false;
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
$activeClickedLink = $this.closest( ".ui-btn" ).addClass( $.mobile.activeBtnClass );
|
||||
|
|
|
|||
Loading…
Reference in a new issue