li 7 years ago
parent
commit
3968a6c4ee
1 changed files with 5 additions and 6 deletions
  1. 5 6
      js/leaveWord.js

+ 5 - 6
js/leaveWord.js

@ -31,14 +31,12 @@
31 31
	}
32 32

33 33
	function lgin() {
34
		if($.cookie('userid')) {
34
		if($.cookie('userid') !="null") {
35 35
			return true;
36 36
		}
37
		if(module.flag) {
38
			location.href="/login.html"
39
			return false;
40
		}
41
		location.href="login.html";
37
		quickLog();
38
		operatTab();
39
		closeLog();
42 40
		return false;
43 41
	}
44 42
	LeaveWord.prototype.addHtml=function() {
@ -143,6 +141,7 @@
143 141
			self.topLw();
144 142
		});
145 143
		$(".commentList").on("click", "li", function(e) {
144
			alert(11)
146 145
			if(!lgin()) {
147 146
				return;
148 147
			}