Open qcgm1978 opened 6 months ago
After starting Sabaki, open the developer tools page and press CMD+R to refresh, the window will automatically close. The reason is that App.js defines the beforeunload event. I temporarily commented out the window closing handler.:
beforeunload
// App.js /* window.addEventListener('beforeunload', evt => { ... setTimeout(() => { if (sabaki.askForSave()) { ... sabaki.window.close() } }) }) */
After starting Sabaki, open the developer tools page and press CMD+R to refresh, the window will automatically close. The reason is that App.js defines the
beforeunload
event. I temporarily commented out the window closing handler.: