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:
parent
81e5fdd0ed
commit
ae41eba7fc
1 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue