mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-06 15:40:59 +00:00
removed a few chars from condition. Thx @jeffreyway for suggestions on the last few commits.
This commit is contained in:
parent
d26877fc22
commit
d42aace51c
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@
|
|||
nextPageRole = $this.attr( "data-rel" );
|
||||
|
||||
//if it's a relative href, prefix href with base url
|
||||
if( href.indexOf('/') !== 0 && href.indexOf('#') !== 0 ){
|
||||
if( href.indexOf('/') && href.indexOf('#') !== 0 ){
|
||||
href = getBaseURL() + href;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue