maxiaoshan %!s(int64=4) %!d(string=hai) anos
pai
achega
1cfac0f97c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/web/templates/jsonInfo.html

+ 1 - 1
src/web/templates/jsonInfo.html

@@ -70,10 +70,10 @@
 	var map = {{.T.data}};
   if(map != null && map.href!=null){
     var href = map.href;
+    $("#ahref").attr("href",href);
     if(href.length>100){
       href = href.slice(0,100)+"..."
     }
-    $("#ahref").attr("href",href);
     $("#ahref").text(href);
   }
 	var descript = {{.T.descript}};