diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-08-27 18:01:34 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-08-27 18:01:34 +0200 |
commit | 826b4fd80a288f13841b6f6d56cc38e2f43bbc03 (patch) | |
tree | 1b28d79d88817b19ca4cf6a229cfee9143531dc3 /html/import_frame.js | |
parent | 53891495d6f6b901da3058b1227d326313d922e9 (diff) | |
download | browser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.tar.gz browser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.zip |
start using `<template>' tag
Diffstat (limited to 'html/import_frame.js')
-rw-r--r-- | html/import_frame.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html/import_frame.js b/html/import_frame.js index 4075433..ab39702 100644 --- a/html/import_frame.js +++ b/html/import_frame.js @@ -9,6 +9,7 @@ * IMPORTS_START * IMPORT get_remote_storage * IMPORT by_id + * IMPORT get_template * IMPORT nice_name * IMPORT make_once * IMPORTS_END @@ -16,7 +17,7 @@ let storage; -const import_li_template = by_id("import_li_template"); +const import_li_template = get_template("import_li"); import_li_template.removeAttribute("id"); function import_li_id(prefix, item) |