Fix call to registerTabClickListeners

This commit is contained in:
Nick Krichevsky 2018-06-28 23:14:23 -04:00
parent 3b05082c9e
commit 574c36f81c

View file

@ -9,7 +9,7 @@ const MAIN_TEMPLATE: twig.Template = twig.twig({href: MAIN_TEMPLATE_URI, async:
document.addEventListener("DOMContentLoaded", () => {
tabs.getWindows((windows: chrome.windows.Window[]) => {
document.querySelector("body").innerHTML = String(MAIN_TEMPLATE.render({windows}));
registerTabClickListeners;
registerTabClickListeners();
});
});