Explorar el Código

fix 8d603177: always show frames-only scripts

tophf hace 2 años
padre
commit
683d46ff75
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
   }
 }