Merge "Adjust after changes in core"

This commit is contained in:
jenkins-bot 2013-07-04 22:03:07 +00:00 committed by Gerrit Code Review
commit 63ff4e1750
2 changed files with 3 additions and 4 deletions

View file

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

View file

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