ming %!s(int64=4) %!d(string=hai) anos
pai
achega
bdb3481dbb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index2.html

+ 1 - 1
index2.html

@@ -135,7 +135,7 @@
     function load_data(id){
       obj = loaded_data.find(item => item.id === id)
       var title = document.getElementById("title")
-      title.innerHTML = obj.title;
+      title.innerHTML = obj.name;
       var step;
       for (step = 1; step <= 10; step++) {
         $(".txtsrc"+step).val() = obj.text_content[step-1]