Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Fix yet another undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiszewski committed Aug 10, 2015
1 parent d0ac9b4 commit 47db111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App_Plugins/UmbracoBookshelf/js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
if (isComingFromBookshelf) {
getView("views/directives/umb-navigation.html?intercepted=1");
} else {
if (previous.loadedTemplateUrl.indexOf("login.html") != -1) {
if (previous.loadedTemplateUrl && previous.loadedTemplateUrl.indexOf("login.html") != -1) {
getView("views/directives/umb-navigation.html?intercepted=1");
}
}
Expand Down

0 comments on commit 47db111

Please sign in to comment.