浏览代码

bug修改

li 7 年之前
父节点
当前提交
d9d789bad3
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      js/inform.js
  2. 1 1
      js/leaveWord.js

+ 3 - 3
js/inform.js

@ -106,7 +106,7 @@ $(function() {
106 106
				url: "/ajax/article/query?articleId="+dobj.pid
107 107
			}).done(function(data) {
108 108
				if(data.success) {
109
					window.openURL("shtml/a/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
109
					window.open("shtml/a/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
110 110
				}
111 111
			});
112 112
		} else if(dobj.opType == 3 || dobj.opType == 4 ) {
@ -119,7 +119,7 @@ $(function() {
119 119
				url: "ajax/ppatent/qo?id="+dobj.pid
120 120
			}).done(function(data) {
121 121
				if(data.success) {
122
					window.openURL("shtml/pt/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
122
					window.open("shtml/pt/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
123 123
				}
124 124
			});
125 125
		} else if(dobj.opType == 7) {
@ -127,7 +127,7 @@ $(function() {
127 127
				url: "ajax/ppaper/qo?id="+dobj.pid
128 128
			}).done(function(data) {
129 129
				if(data.success) {
130
					window.openURL("shtml/pp/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
130
					window.open("shtml/pp/"+data.data.createTime.substr(0,8)+"/"+data.data.shareId+".html");
131 131
				}
132 132
			});
133 133
		} else {

+ 1 - 1
js/leaveWord.js

@ -51,7 +51,7 @@
51 51
				return;
52 52
			}
53 53
			if(!self.id) {
54
				$(".commentList").html("").parent().append("<div class="con-kong displayNone"></div>");
54
				$(".commentList").html("").parent().append("<div class='con-kong displayNone'></div>");
55 55
			}
56 56
			for(var i = 0; i < data.length; i++) {
57 57
				var reply="";