diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-29 17:31:26 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-29 17:31:26 -0500 |
commit | 54e31c8128ad856f4d0bf7d82cb05d4c7717b205 (patch) | |
tree | 744eda03cb0d9702a552ecc9da4be184a33e5e1e | |
parent | e72327d4b1fd92675372a118052f1c9847f882dc (diff) |
Always do the ajax session check
-rw-r--r-- | assets/js/app.js | 2 | ||||
-rw-r--r-- | assets/js/base.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/app.js b/assets/js/app.js index ff584d87..e569dace 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -131,7 +131,7 @@ var Kanboard = (function() { // Check session and redirect to the login page if not logged CheckSession: function() { - if (Kanboard.IsVisible() && ! $(".form-login").length) { + if (! $(".form-login").length) { $.ajax({ cache: false, url: $("body").data("status-url"), diff --git a/assets/js/base.js b/assets/js/base.js index 30463970..9303b348 100644 --- a/assets/js/base.js +++ b/assets/js/base.js @@ -116,7 +116,7 @@ var Kanboard = (function() { // Check session and redirect to the login page if not logged CheckSession: function() { - if (Kanboard.IsVisible() && ! $(".form-login").length) { + if (! $(".form-login").length) { $.ajax({ cache: false, url: $("body").data("status-url"), |