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:
Bartosz Dziewoński 2017-08-04 14:36:15 +02:00
parent a749945897
commit 3a1589d527

View file

@ -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();