Index: trunk/extensions/CodeEditor/CodeEditor.hooks.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | if( $title->isCssOrJsPage() ) { |
8 | 8 | if( preg_match( '/\.js$/', $title->getText() ) ) |
9 | 9 | return 'javascript'; |
10 | | - if( preg_match( '/\.js$/', $title->getText() ) ) |
| 10 | + if( preg_match( '/\.css$/', $title->getText() ) ) |
11 | 11 | return 'css'; |
12 | 12 | } |
13 | 13 | |