diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-07-06 18:25:34 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-07-06 18:25:34 +0200 |
commit | b7e2870ff58ef85370781aa04e9e0126988e39fd (patch) | |
tree | 16df903db70aac294188e24b69916cd22ea779f1 /html/options_main.js | |
parent | d0ae39390fba3822aed4a498aafcdfa61289448b (diff) | |
download | browser-extension-b7e2870ff58ef85370781aa04e9e0126988e39fd.tar.gz browser-extension-b7e2870ff58ef85370781aa04e9e0126988e39fd.zip |
show some settings of the current page in the popup
Diffstat (limited to 'html/options_main.js')
-rw-r--r-- | html/options_main.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/html/options_main.js b/html/options_main.js index 9c66a27..f7adf39 100644 --- a/html/options_main.js +++ b/html/options_main.js @@ -12,6 +12,7 @@ * IMPORT TYPE_NAME * IMPORT list_prefixes * IMPORT url_extract_target + * IMPORT nice_name * IMPORTS_END */ @@ -21,11 +22,6 @@ function by_id(id) return document.getElementById(id); } -function nice_name(prefix, name) -{ - return `${name} (${TYPE_NAME[prefix]})`; -} - const item_li_template = by_id("item_li_template"); const bag_component_li_template = by_id("bag_component_li_template"); const chbx_component_li_template = by_id("chbx_component_li_template"); |