From c9074ac771f45235a400ee63a19d639b77cc6662 Mon Sep 17 00:00:00 2001 From: Eduardo Rosendo Date: Wed, 11 Sep 2024 19:32:21 -0400 Subject: [PATCH] feat(option): Updates flag in localStorage to control banner visibility --- src/options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.js b/src/options.js index 70ec9829..73358269 100644 --- a/src/options.js +++ b/src/options.js @@ -21,7 +21,7 @@ async function load_options() { inputs[i].value = items.options[inputs[i].id] || ''; } } - if ('option_dismiss_new_brand_info' in items.options) removeInfoBanner(); + if ('option_dismiss_new_manifest_info' in items.options) removeInfoBanner(); }); } @@ -38,7 +38,7 @@ function save_options() { let banner = document.getElementById('header-banner'); if (!banner) { - options['option_dismiss_new_brand_info'] = true; + options['option_dismiss_new_manifest_info'] = true; } chrome.storage.local.set({ options: options }, function () {