Przeglądaj źródła

fix 8d603177: always show frames-only scripts

tophf 2 lat temu
rodzic
commit
683d46ff75
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/background/utils/popup-tracker.js

+ 1 - 1
src/background/utils/popup-tracker.js

@@ -68,7 +68,7 @@ async function prefetchSetPopup() {
 }
 
 function notifyTab(tabId, data) {
-  if (badges[tabId]?.[INJECT]) {
+  if (badges[tabId]?.total) {
     sendTabCmd(tabId, 'PopupShown', data);
   }
 }