From ed2ab8505d13ee5b01df1ac46167082500c1f415 Mon Sep 17 00:00:00 2001 From: joak Date: Tue, 16 Jan 2024 10:10:30 +0100 Subject: [PATCH] test --- web/quilt/quilt.html | 2 +- web/quilt/quilt.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/quilt/quilt.html b/web/quilt/quilt.html index 760da24..0d7744e 100644 --- a/web/quilt/quilt.html +++ b/web/quilt/quilt.html @@ -17,7 +17,7 @@ chopchop SI23 - test + test diff --git a/web/quilt/quilt.js b/web/quilt/quilt.js index 38ce66d..01d7348 100644 --- a/web/quilt/quilt.js +++ b/web/quilt/quilt.js @@ -31,7 +31,7 @@ xhr.open('GET', 'https://issue.xpub.nl/23/quilt/quilt.html'); xhr.send(); xhr.onload = function() { if (xhr.status != 200) { //what its not a 200 :D - alert(`Error ${xhr.status}: ${xhr.statusText}`); // what is the error + console.log(`Error ${xhr.status}: ${xhr.statusText}`); // what is the error } else { // its a 200 table = document.createElement('table'); //create a table table.innerHTML = xhr.response; //add the response to the table