Преглед на файлове

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);