diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-09-13 09:19:22 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-09-13 09:19:22 -0400 |
| commit | ec676f4bd35fef6b10335f806543070135f1e9d9 (patch) | |
| tree | f922b1a20738f69851dfd8edd663d117e2d095e9 /www/js/app.js | |
| parent | 86c7167a61d0a0a5a5117c8f03f7d4cb4d15796b (diff) | |
don't store first use in last state, also hide cleaning
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 f0ca9ffe..1e862fd0 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1754,7 +1754,7 @@ angular.module('zmApp', [ if ((NVRDataModel.hasLoginInfo() || toState.data.requireLogin == false) && toState.name != "app.invalidapi" ) { //console.log("State transition is authorized"); - if (toState.name != "app.refresh") { + if (toState.name != "app.refresh" && toState.name != "app.first-use") { NVRDataModel.debug ("Setting last-desktop-state to:"+JSON.stringify(toState)); localforage.setItem('last-desktop-state', { |
