diff --git a/static/tmp.html b/static/tmp.html index c173550..9b15739 100644 --- a/static/tmp.html +++ b/static/tmp.html @@ -21,10 +21,14 @@ let tmp = document.createTextNode(elem); let newP = document.createElement("p"); newP.appendChild(tmp); - document.getElementById("my-list").appendChild(newP) + document.getElementById("my-list").appendChild(newP); } } } + + window.onbeforeunload = function() { + return "Vous perdrez tous les artistes trouvés en rafraichissant la page." + } setInterval(test, 3000);