mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
support embedded pages as a hash since the concatenated form represents a file
This commit is contained in:
parent
43b1b776d9
commit
72ce65767e
1 changed files with 4 additions and 2 deletions
|
|
@ -28,9 +28,11 @@
|
|||
onHashAlter: function( e ) {
|
||||
self.hashchangeFired = true;
|
||||
|
||||
if( $.support.pushState ) {
|
||||
// only replaceState when pushState support is present and
|
||||
// the hash doesn't represent an embeded page
|
||||
if( $.support.pushState && location.hash.search("/") > 0) {
|
||||
var hash = location.hash || "#" + self.initialFilePath,
|
||||
href = hash.replace( "#", "" );
|
||||
href = hash.replace( "#", "" );
|
||||
|
||||
//support dialog urls
|
||||
if( href ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue