This commit is contained in:
tophf 2021-02-10 18:29:34 +03:00
parent 890ff395c0
commit 83adc5aa1e

View File

@ -14,7 +14,6 @@ let installedDup;
let liveReload; let liveReload;
let tabId; let tabId;
window.on('resize', adjustCodeHeight);
// "History back" in Firefox (for now) restores the old DOM including the messagebox, // "History back" in Firefox (for now) restores the old DOM including the messagebox,
// which stays after installing since we don't want to wait for the fadeout animation before resolving. // which stays after installing since we don't want to wait for the fadeout animation before resolving.
document.on('visibilitychange', () => { document.on('visibilitychange', () => {
@ -81,6 +80,7 @@ setTimeout(() => {
colorpicker: true, colorpicker: true,
theme, theme,
}); });
window.on('resize', adjustCodeHeight);
if (error) { if (error) {
showBuildError(error); showBuildError(error);
} }