mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Small Web UI JS code simplification
This commit is contained in:
parent
e5e254a184
commit
a46f665dd4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue