mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 12:54:41 +00:00
correction to nav test to account for root element using the pathname + search
This commit is contained in:
parent
c9e6c45d55
commit
2b5d9a9a3a
1 changed files with 3 additions and 1 deletions
|
|
@ -83,9 +83,11 @@
|
|||
|
||||
function(){
|
||||
// Verify that we are on the expected page.
|
||||
// the hash based nav result (hash:) is dictate by the fact that #internal-page-1
|
||||
// is the original root page element
|
||||
$.testHelper.assertUrlLocation({
|
||||
push: location.pathname + "#internal-page-1",
|
||||
hash: "internal-page-1",
|
||||
hash: location.pathname + location.search,
|
||||
report: "navigate from a page in a non-base directory to an internal page"
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue