Commit cc572520 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed picking index instead of element

parent ac897450
......@@ -143,7 +143,7 @@
.then(response => response.json())
.then(data => {
document.getElementById("queries").innerHTML = "";
data.forEach((index, el) => {
data.forEach((el, index) => {
newElement = document.createElement("div");
newElement.classList.add("query");
newElement.classList.add("card");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment