mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 08:03:40 +00:00
Fix progress bar display
This commit is contained in:
parent
966fc6f64f
commit
ea75828f25
@ -51,7 +51,7 @@
|
||||
value = new Number(value);
|
||||
var progress = value;
|
||||
var text = r.data['state'] + ' ' + value.toFixed(2) + '%';
|
||||
var width = new Number(p.style.match(/\w+:\s*(\d+)\w+/)[1]);
|
||||
var width = new Number(this.style.match(/\w+:\s*(\d+)\w+/)[1]);
|
||||
return Deluge.progressBar(value, width - 8, text);
|
||||
}
|
||||
function seedsRenderer(value, p, r) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user