maxiaoshan hace 4 años
padre
commit
1cfac0f97c
Se han modificado 1 ficheros con 1 adiciones y 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}};