From 5b1501766521b0c8685840f454793087021216d6 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 15 May 2020 08:05:36 -0400 Subject: typo --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3