diff --git a/js/jquery.mobile.init.js b/js/jquery.mobile.init.js index 9cd3cf87..3a49efdc 100644 --- a/js/jquery.mobile.init.js +++ b/js/jquery.mobile.init.js @@ -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 ); } });