Changeset 12782


Ignore:
Timestamp:
Aug 28, 2011, 2:57:13 PM (10 years ago)
Author:
jordan
Message:

fix progressbar color regression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/torrent-row.js

    r12780 r12782  
    8585        if (e.style.display !== display)
    8686                e.style.display = display;
    87         if (e.style.className !== info.complete)
    88                 e.style.className = info.complete;
     87        if (e.className !== info.complete)
     88                e.className = info.complete;
    8989
    9090        // update the incomplete progressbar
     
    9393        if (e.style.display !== display)
    9494                e.style.display = display;
    95         if (e.style.className !== info.incomplete)
    96                 e.style.className = info.incomplete;
     95        if (e.className !== info.incomplete)
     96                e.className = info.incomplete;
    9797};
    9898
Note: See TracChangeset for help on using the changeset viewer.