Skip to content

Commit

Permalink
Download should be able to pause =w=
Browse files Browse the repository at this point in the history
  • Loading branch information
littlebtc committed Jul 26, 2013
1 parent c8c8382 commit eeae0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/DownloadManager.jsm
Expand Up @@ -860,7 +860,7 @@ downloadQueueRunner.dbFail = function() {
/* Handle downloader (DownloadUtils.nico) events. In the function, this will be the downloader instance. */
function handleDownloaderEvent(type, content) {
/* To prevent "stop" to be called when canceled */
if(this._canceled && type != "cancel" && type != "fail") { return; }
if(this._canceled && type != "cancel" && type != "fail" && type != "pause") { return; }
var id = this.dbId;

switch(type) {
Expand Down

0 comments on commit eeae0b3

Please sign in to comment.