Refactor navigation links in HTML files

This commit is contained in:
Sietse Jonker
2024-04-03 11:28:37 +02:00
parent 6f5f9d4b47
commit 8c9ccda61a
6 changed files with 158 additions and 215 deletions

View File

@@ -25,10 +25,10 @@ function createCheckBox(id, label) {
return response.json();
})
.then(data => {
handleData(data);
nodeInputs(data);
})
function handleData(JSONdata) {
function nodeInputs(JSONdata) {
select = document.getElementById('node-input');
console.log(JSONdata);