mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-09 15:14:44 +00:00
moved line where # is removed to prevent base url prefixing on local anchor links
This commit is contained in:
parent
4c2a9591dc
commit
77b1c3a758
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,6 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
href.replace(/^#/,'');
|
||||
|
||||
activeClickedLink = $this.closest( ".ui-btn" ).addClass( activeBtnClass );
|
||||
|
||||
if( external ){
|
||||
|
|
@ -141,6 +139,8 @@
|
|||
href = getBaseURL() + href;
|
||||
}
|
||||
|
||||
href.replace(/^#/,'');
|
||||
|
||||
changePage(href, pageTransition, forceBack, changeHashOnSuccess);
|
||||
}
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Reference in a new issue