summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rwxr-xr-xwww/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index bcdbc93f..eefaa7e5 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1520,7 +1520,7 @@ angular.module('zmApp', [
$rootScope.$on('$stateChangeStart', function (event, toState, toParams) {
- if (!$rootScope.initComplete && (toState!= 'app.first-use')) {
+ if (!$rootScope.initComplete && (toState.name!= 'app.first-use')) {
NVR.debug ("---> Init not complete, ignoring state change request to "+toState.name);
event.preventDefault();
return;