Foppe Hemminga 6 éve
szülő
commit
f88e67f57a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -59,7 +59,7 @@
         $.each(data, (key, val) => {
             console.log('key:', key, ' val:', val);
             items.push( "<tr>" );
-            items.push( "<td scope=\"row\">" + parseInt(key)+1 + "</td>" );
+            items.push( "<td scope=\"row\">" + (parseInt(key)+1) + "</td>" );
             items.push( "<td class=\""+key+"\">" + val["Datum"] + "</td>" );
             items.push( "<td class=\""+key+"\">" + val["Lijn"] + "</td>" );
             items.push( "<td class=\""+key+"\">" + val["Naam"] + "</td>" );