li %!s(int64=7) %!d(string=hace) años
padre
commit
6f2ae6c2b9
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 3 0
      app/js/consultlistNew.js
  2. 1 1
      app/js/inform.js

+ 3 - 0
app/js/consultlistNew.js

@ -237,6 +237,9 @@ mui.ready(function() {
237 237
					console.log(JSON.stringify(data));
238 238
					//return;
239 239
					if(data.success) {
240
						if(data.data==null) {
241
							return;
242
						}
240 243
						document.getElementById("inf").innerHTML=data.data.lastCnt;
241 244
						if(data.data.unRead) {
242 245
							document.getElementById("iconT").style.display="block";

+ 1 - 1
app/js/inform.js

@ -132,7 +132,7 @@ function uinfo(li, uid) {
132 132
					return;
133 133
				}
134 134
				if($data.hasHeadImage == 1) {
135
					li.getElementsByClassName("useHead")[0].style.backgroundImage = "url(" + baseUrl + "/images/head/" + $data.id + "_l.jpg" + ")";
135
					li.getElementsByClassName("sty")[0].style.backgroundImage = "url(" + baseUrl + "/images/head/" + $data.id + "_l.jpg" + ")";
136 136
				}
137 137
			}
138 138
		},