Skip to content
This repository
Browse code

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

…ed page in convertUrlToDataUrl
  • Loading branch information...
commit 410a5a3da186c07c8dcc929802f35790c1dc1ac2 1 parent d93c655
Gabriel "_|Nix|_" Schulhof authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  js/jquery.mobile.navigation.js
2  js/jquery.mobile.navigation.js
@@ -166,7 +166,7 @@ define( [
166 166
 				    // otherwise the Data Url won't match the id of the embedded Page.
167 167
 					return u.hash.split( dialogHashKey )[0].replace( /^#/, "" );
168 168
 				} else if ( path.isSameDomain( u, documentBase ) ) {
169  
-					return u.hrefNoHash.replace( documentBase.domain, "" );
  169
+					return u.hrefNoHash.replace( documentBase.domain, "" ).split( dialogHashKey )[0];
170 170
 				}
171 171
 				return absUrl;
172 172
 			},

0 notes on commit 410a5a3

Please sign in to comment.
Something went wrong with that request. Please try again.