ming 4 anni fa
parent
commit
bdb3481dbb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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]