From b41b0573d2e025ea2f67a0ee4452a3ce694ffa6a Mon Sep 17 00:00:00 2001 From: John Bender Date: Tue, 16 Aug 2011 13:25:04 -0700 Subject: [PATCH] leverage the path helpers to get this right --- js/jquery.mobile.navigation.pushstate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.navigation.pushstate.js b/js/jquery.mobile.navigation.pushstate.js index 53083393..923fb2fc 100644 --- a/js/jquery.mobile.navigation.pushstate.js +++ b/js/jquery.mobile.navigation.pushstate.js @@ -30,7 +30,7 @@ // only replaceState when pushState support is present and // the hash doesn't represent an embeded page - if( $.support.pushState && location.hash.search("/") > 0) { + if( $.support.pushState && !$.mobile.path.isEmbeddedPage(location.hash) ) { var hash = location.hash || "#" + self.initialFilePath, href = hash.replace( "#", "" );