ming 3 anni fa
parent
commit
f0e7686a4c
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      index2.html

+ 1 - 2
index2.html

@@ -134,8 +134,7 @@
     }
     function load_data(id){
       var title = document.getElementById("title")
-      console.log(id)
-      tid = 4
+      tid = id
       title.innerHTML = loaded_data.find(item => item.id === tid).name
       var step;
       for (step = 1; step <= 10; step++) {