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

Commit b29e5bf

Browse files
author
Gabriel Schulhof
committed
Init: decodeURIComponent() replaces $.mobile.path.convertUrlToDataUrl()
1 parent fbe59f9 commit b29e5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ define([
7272
// unless the data url is already set set it to the pathname
7373
if ( !$this[ 0 ].getAttribute( "data-" + $.mobile.ns + "url" ) ) {
7474
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) ||
75-
path.convertUrlToDataUrl( theLocation.pathname + theLocation.search ) );
75+
decodeURIComponent( theLocation.pathname + theLocation.search ) );
7676
}
7777
});
7878

0 commit comments

Comments
 (0)