From 7be8311d4e6a848ccef67348afd5fc48e10a12f3 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Thu, 8 Sep 2011 11:58:55 -0400 Subject: [PATCH] added location.search to the original page data-url --- js/jquery.mobile.init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } });