diff --git a/install-usercss/install-usercss.js b/install-usercss/install-usercss.js index 796f5a56..eb6f9b5a 100644 --- a/install-usercss/install-usercss.js +++ b/install-usercss/install-usercss.js @@ -14,7 +14,6 @@ let installedDup; let liveReload; let tabId; -window.on('resize', adjustCodeHeight); // "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. document.on('visibilitychange', () => { @@ -81,6 +80,7 @@ setTimeout(() => { colorpicker: true, theme, }); + window.on('resize', adjustCodeHeight); if (error) { showBuildError(error); }