mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-30 17:04:14 +00:00
Remove a workaround to clear broken 'background-image'
No longer needed after Ib658651e04090ec4f5bc1f5bacbbfb0d7e7f893e in WikiEditor. Bug: T172500 Change-Id: I22e5a854ed6ee657d5f6c416cb4412184d10f1ac
This commit is contained in:
parent
a749945897
commit
3a1589d527
|
@ -270,10 +270,7 @@
|
|||
);
|
||||
|
||||
$codeMirrorButton = $( '#wpTextbox1' ).data( 'wikiEditor-context' ).modules.toolbar.$toolbar.find( 'a.tool[rel=CodeMirror]' );
|
||||
// FIXME in extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.js
|
||||
$codeMirrorButton
|
||||
.css( 'background-image', '' )
|
||||
.attr( 'id', 'mw-editbutton-codemirror' );
|
||||
$codeMirrorButton.attr( 'id', 'mw-editbutton-codemirror' );
|
||||
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
updateToolbarButton();
|
||||
|
|
Loading…
Reference in a new issue