1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 10:06:23 +02:00

some mroe fixes for detached mode. fixes #92

This commit is contained in:
Kushagra Gour
2017-09-16 19:04:59 +05:30
parent eadccb5c2e
commit 99800a728c
2 changed files with 13 additions and 18 deletions

View File

@ -912,6 +912,9 @@ customEditorFontInput, cssSettingsModal, cssSettingsBtn, acssSettingsTextarea
};
window.onunload = function() {
saveCode('code');
if (scope.detachedWindow) {
scope.detachedWindow.close();
}
};
function cleanupErrors(lang) {