From 72690f53283555b880f11853172f530346028355 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sat, 21 Feb 2009 03:43:58 +0000 Subject: [PATCH] remove pointless regex stuff --- deluge/ui/web/js/deluge-torrents.js | 1 - 1 file changed, 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-torrents.js b/deluge/ui/web/js/deluge-torrents.js index 28cfc10d6..93b8c8889 100644 --- a/deluge/ui/web/js/deluge-torrents.js +++ b/deluge/ui/web/js/deluge-torrents.js @@ -43,7 +43,6 @@ var tpl = '
' + '
'; function progress(value, p, r) { - var width = p['style'].match(/width:\s*(\d+)px/)[1].toInt() var progress = value.toInt(); return String.format(tpl, value.toFixed(2), r.data['state'], progress); }