diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-10-22 23:34:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 23:34:48 +0000 |
commit | c3148c6cf0522c5a3b3f3db6e495f401050c73f7 (patch) | |
tree | 22d68f73f998241a8e0fa922727509349007e1da /ext/js/pages | |
parent | 7039438ce5087ba4236a81b197ee8c3bfd5164d2 (diff) | |
parent | 757707539690b6aec45e9de8cd37fdfc907d8843 (diff) |
Merge pull request #276 from praschke/block-helper-rewrite
Block helper rewrite
Diffstat (limited to 'ext/js/pages')
-rw-r--r-- | ext/js/pages/welcome-main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js index 521ce2c2..8039dae5 100644 --- a/ext/js/pages/welcome-main.js +++ b/ext/js/pages/welcome-main.js @@ -58,6 +58,13 @@ async function setupGenericSettingsController(genericSettingController) { setupEnvironmentInfo(); + chrome.storage.session.get({'needsCustomTemplatesWarning': false}).then((result) => { + if (result.needsCustomTemplatesWarning) { + document.documentElement.dataset.warnCustomTemplates = 'true'; + chrome.storage.session.remove(['needsCustomTemplatesWarning']); + } + }); + const preparePromises = []; const modalController = new ModalController(); |