mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "ve.ui.MWParameterPage: Hide the "Fall back to plain wikitext" button when in wikitext"
This commit is contained in:
commit
ec6509e86b
|
@ -265,7 +265,7 @@ ve.ui.MWParameterPage.prototype.createValueInput = function () {
|
|||
} else if ( type !== 'line' ) {
|
||||
this.rawValueInput = true;
|
||||
valueInputConfig.multiline = true;
|
||||
this.rawFallbackButton.$element.detach();
|
||||
this.rawFallbackButton.$element.toggle( false );
|
||||
}
|
||||
|
||||
return new OO.ui.TextInputWidget( valueInputConfig );
|
||||
|
|
Loading…
Reference in a new issue