diff --git a/index.js b/index.js index 7a81246..0ba2357 100644 --- a/index.js +++ b/index.js @@ -284,6 +284,7 @@ class Tab extends EventEmitter { if (activeTab) { activeTab.tab.classList.remove("active"); activeTab.webview.classList.remove("visible"); + activeTab.emit("inactive", activeTab); } TabGroupPrivate.setActiveTab.bind(this.tabGroup)(this); this.tab.classList.add("active");