From f8404a1e12bf288e62222702fb8fbc7b5c44dbc7 Mon Sep 17 00:00:00 2001 From: a Date: Tue, 4 Aug 2020 00:40:48 +0200 Subject: [PATCH] Small fix to popup --- src/popup/popup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/popup.ts b/src/popup/popup.ts index 19dfb99..019bdfb 100644 --- a/src/popup/popup.ts +++ b/src/popup/popup.ts @@ -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, });