Adjust after changes in core

I6a6c12a9, Id27555c6.

Change-Id: I2e93cfffd7b31b090c93f7911e1e45f2a6619371
This commit is contained in:
MatmaRex 2013-05-17 21:58:56 +02:00
parent b802deafbf
commit d841459c2e
2 changed files with 3 additions and 4 deletions

View file

@ -92,7 +92,6 @@ $wgResourceModules['ext.codeEditor.geshi'] = array(
), ),
'messages' => array( 'messages' => array(
'editsection', 'editsection',
'editsection-brackets',
'savearticle' 'savearticle'
) )
) + $tpl; ) + $tpl;

View file

@ -17,10 +17,10 @@ $(function() {
event.preventDefault(); event.preventDefault();
}); });
var $edit = $('<span>') var $edit = $('<span>')
.css('float', 'right') .addClass('mw-editsection')
.append('[') .append('<span class="mw-editsection-bracket">[</span>')
.append($link) .append($link)
.append(']'); // @fixme use the editsection-brackets msg .append('<span class="mw-editsection-bracket">]</span>');
$div.prepend($edit); $div.prepend($edit);
}; };
var openEditor = function($div) { var openEditor = function($div) {