added location.search to the original page data-url

This commit is contained in:
scottjehl 2011-09-08 11:58:55 -04:00
parent d0fe757a28
commit 7be8311d4e

View file

@ -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 );
}
});