diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/apps.js | 1 | ||||
-rw-r--r-- | www/js/auth.js | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/www/js/apps.js b/www/js/apps.js index 69f55f1..e1e81b1 100644 --- a/www/js/apps.js +++ b/www/js/apps.js @@ -40,7 +40,6 @@ function apps_select(app) { function apps_init() { apps_current = sessionStorage.getItem("apps_current"); - apps_select(apps_current); } function apps_cleanup() { diff --git a/www/js/auth.js b/www/js/auth.js index 29dde31..b01eb7d 100644 --- a/www/js/auth.js +++ b/www/js/auth.js @@ -29,8 +29,7 @@ function auth_loginError(req, status, error) { $("#password").val(''); } -function auth_login() -{ +function auth_login() { $.ajax("/authtoken.json", { cache: false, username: $("#username").val(), @@ -41,8 +40,7 @@ function auth_login() }); } -function auth_logout() -{ +function auth_logout() { auth_cleanup(); apps_cleanup(); |