Small fix to popup

This commit is contained in:
a 2020-08-04 00:40:48 +02:00
parent 5cffa7772a
commit f8404a1e12

View file

@ -9,7 +9,7 @@ class ExtensionToggle extends HTMLButtonElement {
return;
}
this.isON = v;
this.textContent = this.on ? "ON" : "OFF";
this.render();
const toggleEvent = new CustomEvent("extensionToggled", {
detail: this.on,
});