Browse Source

Changed on Login Stuff and visibility control.

jason.lu 6 năm trước cách đây
mục cha
commit
5f04adc563
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      js/basic.js

+ 3 - 0
js/basic.js

@@ -381,6 +381,9 @@ function getUserId() {
 
     try{
         var mm = parseInt(use);
+        if(mm <= 0){
+            location.href = "sign-in1.html?from=entrance-1&msg=cookie-wrong-format";
+        }
     }catch (e) {
         location.href = "sign-in1.html?from=entrance-1&msg=cookie-wrong-format";
         return;