فهرست منبع

removed unecessary condition

Gildas 6 سال پیش
والد
کامیت
c66eb72d6e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/lazy/content/content-lazy-loader.js

+ 1 - 1
lib/lazy/content/content-lazy-loader.js

@@ -146,7 +146,7 @@ this.singlefile.lib.lazy.content.loader = this.singlefile.lib.lazy.content.loade
 	}
 
 	async function clearAsyncTimeout(timeoutId) {
-		if (this.browser && browser && browser.runtime && browser.runtime.sendMessage) {
+		if (this.browser && browser.runtime && browser.runtime.sendMessage) {
 			await browser.runtime.sendMessage({ method: "lazyTimeout.clearTimeout", id: timeoutId });
 		} else {
 			return clearTimeout(timeoutId);