Small fix to popup
This commit is contained in:
parent
5cffa7772a
commit
f8404a1e12
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class ExtensionToggle extends HTMLButtonElement {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.isON = v;
|
this.isON = v;
|
||||||
this.textContent = this.on ? "ON" : "OFF";
|
this.render();
|
||||||
const toggleEvent = new CustomEvent("extensionToggled", {
|
const toggleEvent = new CustomEvent("extensionToggled", {
|
||||||
detail: this.on,
|
detail: this.on,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue