Author: damoxc
Revision: 6132
Log:
remove commented out line that scanned for the width which is redundant
now width is a property of the renderer
Diff:
Modified: trunk/deluge/ui/web/js/deluge-all/Deluge.Torrents.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-all/Deluge.Torrents.js 2010-01-24
03:27:43 UTC (rev 6131)
+++ trunk/deluge/ui/web/js/deluge-all/Deluge.Torrents.js 2010-01-24
03:29:44 UTC (rev 6132)
@@ -48,7 +48,6 @@
value = new Number(value);
var progress = value;
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);
}
function seedsRenderer(value, p, r) {
--
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en.