Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Navigation: add check that active.url actually exists

  • Loading branch information...
commit 7e8ea3601d9f482ccd08092591e1a98d5aca1880 1 parent fef41bb
@lobbin lobbin authored gabrielschulhof committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.navigation.js
View
2  js/jquery.mobile.navigation.js
@@ -1119,7 +1119,7 @@ define( [
// However, if a dialog is already displayed at this point, and we're
// about to display another dialog, then we must add another hash and
// history entry on top so that one may navigate back to the original dialog
- if ( active.url.indexOf( dialogHashKey ) > -1 && !$.mobile.activePage.is( ".ui-dialog" ) ) {
+ if ( active.url && active.url.indexOf( dialogHashKey ) > -1 && !$.mobile.activePage.is( ".ui-dialog" ) ) {
settings.changeHash = false;
alreadyThere = true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.