Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[navigation] Strip dialogHashKey from url even if it is not an embedd…

…ed page in convertUrlToDataUrl
  • Loading branch information...
commit 410a5a3da186c07c8dcc929802f35790c1dc1ac2 1 parent d93c655
@gabrielschulhof gabrielschulhof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.navigation.js
View
2  js/jquery.mobile.navigation.js
@@ -166,7 +166,7 @@ define( [
// otherwise the Data Url won't match the id of the embedded Page.
return u.hash.split( dialogHashKey )[0].replace( /^#/, "" );
} else if ( path.isSameDomain( u, documentBase ) ) {
- return u.hrefNoHash.replace( documentBase.domain, "" );
+ return u.hrefNoHash.replace( documentBase.domain, "" ).split( dialogHashKey )[0];
}
return absUrl;
},
Please sign in to comment.
Something went wrong with that request. Please try again.