Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 482f720

Browse files
committed
Navigation: Fix the navigation_helpers.js module from hanging the test suite. Fixes #5010 - Navigation: Unit test suite does not complete in Windows Mobile 7.5
1 parent 11daf09 commit 482f720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/navigation/navigation_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
module('jquery.mobile.navigation.js', {
88
setup: function(){
9-
if ( location.hash ) {
9+
if ( location.hash && location.hash !== "#" ) {
1010
stop();
1111
$(document).one("pagechange", function() {
1212
start();

0 commit comments

Comments
 (0)