aboutsummaryrefslogtreecommitdiff
path: root/html/options_main.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-07-06 18:27:38 +0200
committerWojtek Kosior <koszko@koszko.org>2021-07-06 18:27:38 +0200
commitc86bdfcd9d56309faca69b58830cea1fa98870e0 (patch)
treeaba830cbebf3a3a7a3af94c65103f14585651441 /html/options_main.js
parent2059fab6c01a0793e8a82f80d9518ed2bd6d1e29 (diff)
parentb7e2870ff58ef85370781aa04e9e0126988e39fd (diff)
downloadbrowser-extension-c86bdfcd9d56309faca69b58830cea1fa98870e0.tar.gz
browser-extension-c86bdfcd9d56309faca69b58830cea1fa98870e0.zip
Merge popup display
Diffstat (limited to 'html/options_main.js')
-rw-r--r--html/options_main.js6
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");