jack 7 years ago
parent
commit
4c08218586
2 changed files with 4 additions and 1 deletions
  1. 3 0
      e/a.html
  2. 1 1
      js/articalShow.js

+ 3 - 0
e/a.html

@ -117,7 +117,10 @@
117 117
						console.log(stt)
118 118
						if($data.articleContent) {
119 119
							document.getElementById("articleContent").innerHTML = $data.articleContent;
120
							
120 121
							descContent=document.getElementById("articleContent").innerText;
122
							console.log($data.articleContent)
123
							console.log(descContent)
121 124
						}
122 125
						if($data.subject) {
123 126
							document.getElementsByClassName("tagList")[0].style.display = "block";

+ 1 - 1
js/articalShow.js

@ -811,7 +811,7 @@ function message(rows,num) {
811 811
								$itemlist.find(".authiconNew").attr("title", userType.title);
812 812
								$itemlist.find(".authiconNew").addClass(userType.sty);
813 813
							if(datalist.professor.hasHeadImage==1) {
814
								$(".useHeadMsg").attr("style", "background-image: url(/images/head/" + datalist.professor.id + "_l.jpg);");
814
								$itemlist.find(".useHeadMsg").attr("style", "background-image: url(/images/head/" + datalist.professor.id + "_l.jpg);");
815 815
							}	
816 816
							if(datalist.professor.id!=userid){
817 817
								$(".messageDel").hide();