Explorar el Código

added test for Edge

Gildas hace 7 años
padre
commit
f8845b4426
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      extension/ui/bg/ui-button.js

+ 1 - 1
extension/ui/bg/ui-button.js

@@ -34,7 +34,7 @@ singlefile.ui.button = (() => {
 			if (!tabs.length) {
 				singlefile.ui.saveTab(tab);
 			} else {
-				tabs.forEach(tab => singlefile.core.isAllowedURL(tab.url) && singlefile.ui.saveTab(tab));
+				tabs.forEach(tab => (tab.active || tab.highlighted) && singlefile.core.isAllowedURL(tab.url) && singlefile.ui.saveTab(tab));
 			}
 		}
 	});