Explorar o código

add history link

ming %!s(int64=4) %!d(string=hai) anos
pai
achega
5d1c65d3ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      static/script_msg.js

+ 1 - 1
static/script_msg.js

@@ -88,7 +88,7 @@ var myModal = new bootstrap.Modal(document.getElementById('history'), {
       console.log(tid);
       linker.setAttribute('href', loaded_data.find(item => item.id == tid).link)
       
-      $("#linker").val(loaded_data.find(item => item.id == tid).link)
+      $("#linker").html(loaded_data.find(item => item.id == tid).link)
       $("#linker").show()
       
       $(".title_new").val(loaded_data.find(item => item.id == tid).name)