This commit is contained in:
MaysWind 2016-07-04 23:01:44 +08:00
parent 63c1ed23f4
commit aa8ecc0de2

View file

@ -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);
}