mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-23 23:03:46 +00:00
Adjust after changes in core
I6a6c12a9, Id27555c6. Change-Id: I2e93cfffd7b31b090c93f7911e1e45f2a6619371
This commit is contained in:
parent
b802deafbf
commit
d841459c2e
|
@ -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