ming il y a 3 ans
Parent
commit
bdb3481dbb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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]