summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-05-15 08:05:36 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-05-15 08:05:36 -0400
commit5b1501766521b0c8685840f454793087021216d6 (patch)
treee672d5222a5cd0266d9ad485c6eb4f02004709dd
parent37f6e07ed6c16cb234fca3b275632c4471dc3979 (diff)
typo
-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;