1
0
Fork 0
mirror of https://github.com/Findus23/nonsense.git synced 2024-09-19 16:03:50 +02:00
This commit is contained in:
Lukas Winkler 2017-12-11 18:24:25 +01:00
parent 19bcac99f9
commit 88ce50fa17

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Title</title>
@ -39,11 +39,11 @@
}
}
};
xhr.open('GET', 'http://localhost:5000/api/description/1/', true);
xhr.open('GET', '/api/description/1/', true);
xhr.send(null);
}
fetchDescription();
document.getElementById("buttonwrapper").addEventListener("click", fetchDescription);
</script>
</body>
</html>
</html>