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:
Damien Churchill 2010-01-24 03:29:44 +00:00
parent 0d069d0fe8
commit c7635b0ff0

View File

@ -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) {