mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 22:37:59 +00:00
Small Web UI JS code simplification
This commit is contained in:
parent
e5e254a184
commit
a46f665dd4
@ -379,7 +379,7 @@ var dynamicTable = new Class ({
|
||||
for(var i=0; i<row.length; i++) {
|
||||
if(i==1) continue; // Do not refresh name
|
||||
if(i==this.progressIndex) {
|
||||
$('pb_'+id).setValue(row[i].toFloat());
|
||||
$('pb_'+id).setValue(row[i]);
|
||||
} else {
|
||||
if(i==0) {
|
||||
tds[i].getChildren('img')[0].set('src', row[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user