diff options
author | Wu Cheng-Han | 2016-09-18 16:42:59 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-09-18 16:42:59 +0800 |
commit | c2f0943b492280751527b13b6ec7048b9202887c (patch) | |
tree | 668ff910b2a7426c0fc5cf0dab0e3142d3243b07 /public | |
parent | 23008bc1e152998aec0c5b74ac20b1c10c12a386 (diff) |
Fix bug that when window close will make ajax fail and cause cookies set to wrong state
Diffstat (limited to '')
-rw-r--r-- | public/js/common.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/public/js/common.js b/public/js/common.js index 0c9455f4..11c32acc 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -83,7 +83,6 @@ function checkIfAuth(yesCallback, noCallback) { }) .fail(function () { noCallback(); - setLoginState(false); }) .always(function () { checkAuth = true; |