Merge "ve.ui.MWParameterPage: Hide the "Fall back to plain wikitext" button when in wikitext"

This commit is contained in:
jenkins-bot 2017-01-03 18:44:54 +00:00 committed by Gerrit Code Review
commit ec6509e86b

View file

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