r40104 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40103‎ | r40104 | r40105 >
Date:20:54, 27 August 2008
Author:aaron
Status:old
Tags:
Comment:
fix backwards coloring
Modified paths:
  • /trunk/extensions/FlaggedRevs/flaggedrevs.js (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/flaggedrevs.js
@@ -118,7 +118,7 @@
119119 // Update color. Opera does this already, and doing so
120120 // seems to kill custom pretty opera skin form styling.
121121 if( navigator.appName != 'Opera') {
122 - levels[0].className = 'fr-rating-option-' + selectedlevel;
 122+ levels[0].className = 'fr-rating-option-' + (4 - selectedlevel);
123123 }
124124 }
125125 }