diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-05-15 08:04:48 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-05-15 08:04:48 -0400 |
| commit | 37f6e07ed6c16cb234fca3b275632c4471dc3979 (patch) | |
| tree | 895e981098930bab36acb8c49863dd0a2fcc7a04 /www/js/app.js | |
| parent | 06b899198a15f7b81a9fae57d60e8db6b3655a38 (diff) | |
make sure we don't block transition for first use
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index 3dde24f1..bcdbc93f 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) { + if (!$rootScope.initComplete && (toState!= 'app.first-use')) { NVR.debug ("---> Init not complete, ignoring state change request to "+toState.name); event.preventDefault(); return; |
