Gildas 5 лет назад
Родитель
Сommit
afea4156dc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      extension/core/content/content-download.js

+ 1 - 1
extension/core/content/content-download.js

@@ -89,7 +89,7 @@ this.singlefile.extension.core.content.download = this.singlefile.extension.core
 			link.dispatchEvent(new MouseEvent("click"));
 			URL.revokeObjectURL(link.href);
 		}
-		return new Promise(resolve => setTimeout(() => resolve, 1));
+		return new Promise(resolve => setTimeout(resolve, 1));
 	}
 
 	function saveToClipboard(page) {