From: Jordan Lee Date: Sun, 28 Aug 2011 14:57:13 +0000 (+0000) Subject: fix progressbar color regression X-Git-Tag: 2.40b1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d6977022778bec50f6fb2b588ef6ba626d61883;p=transmission fix progressbar color regression --- diff --git a/web/javascript/torrent-row.js b/web/javascript/torrent-row.js index 76589a9c9..3acedfb00 100644 --- a/web/javascript/torrent-row.js +++ b/web/javascript/torrent-row.js @@ -84,16 +84,16 @@ TorrentRendererHelper.renderProgressbar = function(controller, t, progressbar) } if (e.style.display !== display) e.style.display = display; - if (e.style.className !== info.complete) - e.style.className = info.complete; + if (e.className !== info.complete) + e.className = info.complete; // update the incomplete progressbar e = progressbar.incomplete; display = (info.percent < 100) ? 'block' : 'none'; if (e.style.display !== display) e.style.display = display; - if (e.style.className !== info.incomplete) - e.style.className = info.incomplete; + if (e.className !== info.incomplete) + e.className = info.incomplete; }; TorrentRendererHelper.formatUL = function(t)