mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-23 23:03:46 +00:00
Merge "Adjust after changes in core"
This commit is contained in:
commit
63ff4e1750
|
@ -92,7 +92,6 @@ $wgResourceModules['ext.codeEditor.geshi'] = array(
|
|||
),
|
||||
'messages' => array(
|
||||
'editsection',
|
||||
'editsection-brackets',
|
||||
'savearticle'
|
||||
)
|
||||
) + $tpl;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue