0
0
mirror of https://github.com/marcrobledo/savegame-editors.git synced 2025-04-28 09:05:10 +00:00

added unload 'event'

This commit is contained in:
Marc Robledo 2023-07-02 11:33:04 +02:00
parent 6ad268f739
commit fdcad683d6

View File

@ -1,5 +1,5 @@
/*
savegame-editor.js v20230519
savegame-editor.js v20230701
A library that lets you create easily a savegame editor. Made with vanilla JS.
by Marc Robledo 2016-2023
@ -151,7 +151,9 @@ function closeFileConfirm(){
function closeFile(){
show('dragzone');
hide('the-editor');
hide('toolbar');
hide('toolbar');
if(typeof SavegameEditor.unload==='function')
SavegameEditor.unload();
}
function getSavegameDefaultName(){