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