Explorar el Código

ignore errors

Gildas hace 4 años
padre
commit
29295f8b87
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      extension/core/content/content-bootstrap.js

+ 2 - 2
extension/core/content/content-bootstrap.js

@@ -96,8 +96,8 @@ function init() {
 	if (previousLocationHref != location.href && !singlefile.pageInfo.processing) {
 		pageAutoSaved = false;
 		previousLocationHref = location.href;
-		browser.runtime.sendMessage({ method: "tabs.init", savedPageDetected: detectSavedPage(document) });
-		browser.runtime.sendMessage({ method: "ui.processInit" });
+		browser.runtime.sendMessage({ method: "tabs.init", savedPageDetected: detectSavedPage(document) }).catch(() => { });
+		browser.runtime.sendMessage({ method: "ui.processInit" }).catch(() => { });;
 	}
 }