Gildas 4 лет назад
Родитель
Сommit
29295f8b87
1 измененных файлов с 2 добавлено и 2 удалено
  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(() => { });;
 	}
 }