Skip to content

Commit

Permalink
fix: fix a issue with Aggressive Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RossWang committed Jun 14, 2019
1 parent b2e2b28 commit 8cc77c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,14 +683,14 @@ function observeResponse(d) {
prepareDownload(d);
return {cancel: true};
}
else if (contentType.slice(0, 4) == "video") {
else if (contentType.slice(0, 5) == "video") {
//console.log(contentType);
if (isException(d))
return {cancel: false};
prepareDownload(d);
return {cancel: true};
}
else if (contentType.slice(0, 4) == "audio") {
else if (contentType.slice(0, 5) == "audio") {
//console.log(contentType);
if (isException(d))
return {cancel: false};
Expand Down

0 comments on commit 8cc77c1

Please sign in to comment.