summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2016-09-18 16:42:59 +0800
committerWu Cheng-Han2016-09-18 16:42:59 +0800
commitc2f0943b492280751527b13b6ec7048b9202887c (patch)
tree668ff910b2a7426c0fc5cf0dab0e3142d3243b07 /public
parent23008bc1e152998aec0c5b74ac20b1c10c12a386 (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.js1
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;