mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
VE: Remove unnecessary validation check
Change-Id: I7cc68eaead398ed97baf620142386f8e0bab4fb9
This commit is contained in:
parent
30a98dcbcd
commit
10b6dee5a2
|
@ -122,9 +122,7 @@ ve.ui.MWSyntaxHighlightInspector.prototype.getSetupProcess = function ( data ) {
|
|||
language = attrs.lang || '',
|
||||
showLines = attrs.line !== undefined;
|
||||
|
||||
if ( ve.dm.MWSyntaxHighlightNode.static.isLanguageSupported( language ) ) {
|
||||
this.language.input.setValue( language );
|
||||
}
|
||||
this.language.input.setValue( language );
|
||||
this.language.input.on( 'change', this.onChangeHandler );
|
||||
|
||||
this.showLinesCheckbox.setSelected( showLines );
|
||||
|
|
Loading…
Reference in a new issue