mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08: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