mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-28 04:04:47 +00:00
remove commented out line that scanned for the width which is redundant now width is a property of the renderer
This commit is contained in:
parent
0d069d0fe8
commit
c7635b0ff0
@ -48,7 +48,6 @@ Copyright:
|
|||||||
value = new Number(value);
|
value = new Number(value);
|
||||||
var progress = value;
|
var progress = value;
|
||||||
var text = r.data['state'] + ' ' + value.toFixed(2) + '%'
|
var text = r.data['state'] + ' ' + value.toFixed(2) + '%'
|
||||||
//var width = new Number(this.style.match(/\w+:\s*(\d+)\w+/)[1]) - 8;
|
|
||||||
return Deluge.progressBar(value, this.width - 8, text);
|
return Deluge.progressBar(value, this.width - 8, text);
|
||||||
}
|
}
|
||||||
function seedsRenderer(value, p, r) {
|
function seedsRenderer(value, p, r) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user