Skip to content

Commit

Permalink
I'm an idiot
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel on umini committed Apr 21, 2015
1 parent 5b696bd commit 5b09512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ function update_progress()
if(id != "active" && id != "queued")
{
var upload = uploads[id];
if(upload.uploaded != 1 && upload.success == true && upload.success == false)
if(upload.uploaded != 1 && !(upload.success || !upload.success))
{
percentage = upload.uploaded;
average += percentage;
Expand Down

0 comments on commit 5b09512

Please sign in to comment.