mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
just use location.pathname. same thing, in hindsight.
This commit is contained in:
parent
6d2f9737db
commit
3ebe7b4218
1 changed files with 1 additions and 2 deletions
|
|
@ -15,8 +15,7 @@
|
|||
oldRegisterInternalEvents();
|
||||
|
||||
// Initial href without hash becomes base for hash changes
|
||||
// TODO - get this value from $.mobile.path ?
|
||||
var initialFilePath = location.href.split( "#" )[0].match( /[^\/]*\/\/[^\/]+(.*)/ ) && RegExp.$1,
|
||||
var initialFilePath = location.pathname,
|
||||
|
||||
// Begin with popstate listening disabled, since it fires at onload in chrome
|
||||
popListeningEnabled = false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue