Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 963c021

Browse files
author
Gabriel Schulhof
committed
Pagecontainer: Pass encoded URL to $.mobile.navigate()
1 parent 60e21c0 commit 963c021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/pagecontainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ define( [
11291129
};
11301130

11311131
if ( settings.changeHash !== false && $.mobile.hashListeningEnabled ) {
1132-
$.mobile.navigate( url, params, true);
1132+
$.mobile.navigate( this.window[ 0 ].encodeURI( url ), params, true);
11331133
} else if ( toPage[ 0 ] !== $.mobile.firstPage[ 0 ] ) {
11341134
$.mobile.navigate.history.add( url, params );
11351135
}

0 commit comments

Comments
 (0)