fix for failing tests adding root page to the dom twice because of the search string

This commit is contained in:
John Bender 2011-10-07 13:30:16 -07:00
parent 9983e96382
commit c2c7af8876

View file

@ -8,7 +8,7 @@
siteDirectory = location.pathname.replace( /[^/]+$/, "" ),
home = $.mobile.path.parseUrl(location.pathname).directory,
navigateTestRoot = function(){
$.testHelper.openPage( "#" + location.pathname );
$.testHelper.openPage( "#" + location.pathname + location.search );
};
module('jquery.mobile.navigation.js', {