Skip to content

Commit 7be8311

Browse files
author
scottjehl
committed
added location.search to the original page data-url
1 parent d0fe757 commit 7be8311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
// unless the data url is already set set it to the pathname
8787
if ( !$this.jqmData("url") ) {
88-
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) || location.pathname );
88+
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) || location.pathname + location.search );
8989
}
9090
});
9191

0 commit comments

Comments
 (0)