diff options
Diffstat (limited to 'assets/js')
-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"), |