diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | 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 96733bd..42916b1 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -86,7 +86,7 @@ var tpl = { if ( FMS.users.length > 0 ) { FMS.currentUser = FMS.users.get(1); } - if ( !FMS.currentUser ) { + if ( FMS.currentUser === null ) { FMS.currentUser = new FMS.User({id: 1}); } |