mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 09:04:43 +00:00
renamed replacestate key handling method
This commit is contained in:
parent
50aca4e613
commit
3a13a6ec75
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
|||
};
|
||||
},
|
||||
|
||||
resetUIState: function( url ) {
|
||||
resetUIKeys: function( url ) {
|
||||
var dialog = $.mobile.dialogHashKey,
|
||||
subkey = "&" + $.mobile.subPageUrlKey;
|
||||
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
// make the hash abolute with the current href
|
||||
href = $.mobile.path.makeUrlAbsolute( state.hash.replace("#", ""), location.href );
|
||||
|
||||
href = self.resetUIState( href );
|
||||
href = self.resetUIKeys( href );
|
||||
|
||||
// replace the current url with the new href and store the state
|
||||
history.replaceState( state, document.title, href );
|
||||
|
|
|
|||
Loading…
Reference in a new issue