mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-11 09:51:01 +00:00
added location.search to the original page data-url
This commit is contained in:
parent
d0fe757a28
commit
7be8311d4e
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
// unless the data url is already set set it to the pathname
|
||||
if ( !$this.jqmData("url") ) {
|
||||
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) || location.pathname );
|
||||
$this.attr( "data-" + $.mobile.ns + "url", $this.attr( "id" ) || location.pathname + location.search );
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue