fix popup
This commit is contained in:
parent
e5063526e0
commit
d2ceb2da2c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ customElements.define("lingo-toggle", Toggle, {
|
|||
extends: "button",
|
||||
});
|
||||
|
||||
const toggle = <Toggle>document.querySelector("button[is=extension-toggle]");
|
||||
const toggle = <Toggle>document.querySelector("button[is=lingo-toggle]");
|
||||
toggle.addEventListener("toggled", ((e: CustomEvent) => {
|
||||
Communicator.setEnabled(e.detail);
|
||||
}) as EventListener); //Hate to do this but ts forced me
|
||||
|
|
Loading…
Reference in a new issue