Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit b0635c9

Browse files
committed
Fix interrupting all downloads in Firefox
1 parent 5a838b0 commit b0635c9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

extension/background.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ try {
7171

7272
chromeVersion = parseInt(chromeVersion);
7373
sendMessageToHost({
74-
version: "2.0.7"
74+
version: "2.0.8"
7575
});
7676

7777
// Read the local storage for excluded keywords
@@ -164,7 +164,7 @@ current_browser.downloads.onCreated.addListener(function(downloadItem) {
164164
} else {
165165
url = downloadItem['url'];
166166
}
167-
if (fileSize != -1 && fileSize < minFileSizeToInterrupt && !isWhiteListed(url)) {
167+
if (fileSize < minFileSizeToInterrupt && !isWhiteListed(url)) {
168168
return;
169169
}
170170
if (isBlackListed(url)) {

extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
"storage",
5050
"cookies"
5151
],
52-
"version": "2.0.7"
52+
"version": "2.0.8"
5353
}

extension/popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<body>
2929
<div id="parent-container">
3030
<div id="title-container">
31-
<img id="img-icon" src="icon_32.png" /> <span>uGet Integration 2.0.7</span>
31+
<img id="img-icon" src="icon_32.png" /> <span>uGet Integration 2.0.8</span>
3232
</div>
3333
<hr>
3434
<label id="info"></label><label id="error"></label><label id="warn"></label>

0 commit comments

Comments
 (0)