mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
change the priority renderer to return '' if there is no value
This commit is contained in:
parent
fa0d6b1aa0
commit
7af689e57f
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ Copyright:
|
|||
return Deluge.progressBar(progress, this.width - 50, progress.toFixed(2) + '%', 0);
|
||||
}
|
||||
function priorityRenderer(value) {
|
||||
if (!value) return '';
|
||||
return String.format('<div class="{0}">{1}</div>', FILE_PRIORITY_CSS[value], _(FILE_PRIORITY[value]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue