fix bug
This commit is contained in:
parent
63c1ed23f4
commit
aa8ecc0de2
|
@ -32,7 +32,7 @@
|
|||
|
||||
var task = response.task;
|
||||
|
||||
if (!task.bittorrent) {
|
||||
if (task.status != 'active' || !task.bittorrent) {
|
||||
if (tabOrders.indexOf('btpeers') >= 0) {
|
||||
tabOrders.splice(tabOrders.indexOf('btpeers'), 1);
|
||||
}
|
||||
|
|
Reference in a new issue