|
@@ -136,6 +136,7 @@ this.singlefile.lib.lazy.content.loader = this.singlefile.lib.lazy.content.loade
|
|
|
if (message.method == "content.onLazyTimeout" && message.id == timeoutId) {
|
|
if (message.method == "content.onLazyTimeout" && message.id == timeoutId) {
|
|
|
browser.runtime.onMessage.removeListener(timeoutCallback);
|
|
browser.runtime.onMessage.removeListener(timeoutCallback);
|
|
|
callback();
|
|
callback();
|
|
|
|
|
+ return Promise.resolve({});
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
browser.runtime.onMessage.addListener(timeoutCallback);
|
|
browser.runtime.onMessage.addListener(timeoutCallback);
|