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(
|
'messages' => array(
|
||||||
'editsection',
|
'editsection',
|
||||||
'editsection-brackets',
|
|
||||||
'savearticle'
|
'savearticle'
|
||||||
)
|
)
|
||||||
) + $tpl;
|
) + $tpl;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue