Fix call to registerTabClickListeners
This commit is contained in:
parent
3b05082c9e
commit
574c36f81c
|
@ -9,7 +9,7 @@ const MAIN_TEMPLATE: twig.Template = twig.twig({href: MAIN_TEMPLATE_URI, async:
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
tabs.getWindows((windows: chrome.windows.Window[]) => {
|
tabs.getWindows((windows: chrome.windows.Window[]) => {
|
||||||
document.querySelector("body").innerHTML = String(MAIN_TEMPLATE.render({windows}));
|
document.querySelector("body").innerHTML = String(MAIN_TEMPLATE.render({windows}));
|
||||||
registerTabClickListeners;
|
registerTabClickListeners();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue