1
0
Fork 0
mirror of https://github.com/haselkern/Minecraft-ArmorStand.git synced 2025-05-17 15:05:33 +00:00

Exit confirmation

This commit is contained in:
Lars Martens 2017-06-11 17:08:05 +02:00
parent 81e5fdd0ed
commit ae41eba7fc

View file

@ -85,7 +85,12 @@ $(document).ready(function(){
setup();
updateUI();
render();
// Confirm exit
window.onbeforeunload = function(){
return "Changes will NOT be saved. Exit anyways?";
};
//Stuff to handle and update input
$("input").on("input", function(){
handleInput();