mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
commit
f345d0f136
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ window.addEvent('load', function () {
|
||||||
|
|
||||||
var addTorrentToCategoryList = function(torrent) {
|
var addTorrentToCategoryList = function(torrent) {
|
||||||
var category = torrent['category'];
|
var category = torrent['category'];
|
||||||
if (category === null)
|
if (typeof category === 'undefined')
|
||||||
return false;
|
return false;
|
||||||
if (category.length === 0) { // Empty category
|
if (category.length === 0) { // Empty category
|
||||||
removeTorrentFromCategoryList(torrent['hash']);
|
removeTorrentFromCategoryList(torrent['hash']);
|
||||||
|
|
|
@ -1039,7 +1039,7 @@ var TorrentsTable = new Class({
|
||||||
break;
|
break;
|
||||||
case 'inactive':
|
case 'inactive':
|
||||||
inactive = true;
|
inactive = true;
|
||||||
break;
|
// fallthrough
|
||||||
case 'active':
|
case 'active':
|
||||||
if (state == 'stalledDL')
|
if (state == 'stalledDL')
|
||||||
r = (row['full_data'].upspeed > 0);
|
r = (row['full_data'].upspeed > 0);
|
||||||
|
|
Loading…
Reference in a new issue