Index: trunk/phase3/skins/Simple.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | $underline = ""; |
37 | 37 | |
38 | 38 | if ( $wgUser->getOption( 'underline' ) < 2 ) { |
39 | | - $underline = "text-decoration: " . $wgUser->getOption( 'underline' ) ? 'underline' : 'none' . " !important;"; |
| 39 | + $underline = "text-decoration: " . $wgUser->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; |
40 | 40 | } |
41 | 41 | |
42 | 42 | /* Also inherits from resourceloader */ |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | // Underline: 2 = browser default, 1 = always, 0 = never |
99 | 99 | if ( $options['underline'] < 2 ) { |
100 | 100 | $rules[] = "a { text-decoration: " . |
101 | | - ( $options['underline'] ? 'underline' : 'none' ) . " !important; }"; |
| 101 | + ( $options['underline'] ? 'underline !important' : 'none' ) . "; }"; |
102 | 102 | } |
103 | 103 | if ( $options['highlightbroken'] ) { |
104 | 104 | $rules[] = "a.new, #quickbar a.new { color: #ba0000; }\n"; |