mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Follow-up I5636e744: Only set noeditsection class for no edit checkbox
Change-Id: I0994b38bdfaff2dfb4238e60e44764b7c6fd5c42
This commit is contained in:
parent
1960cc7406
commit
9611f50fbd
|
@ -109,7 +109,8 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
|
|||
{
|
||||
metaName: 'mwNoEditSection',
|
||||
label: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-label' ),
|
||||
help: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-help' )
|
||||
help: ve.msg( 'visualeditor-dialog-meta-settings-noeditsection-help' ),
|
||||
classes: [ 've-test-page-settings-noeditsection' ]
|
||||
}
|
||||
].concat( ve.ui.MWSettingsPage.static.extraMetaCheckboxes );
|
||||
|
||||
|
@ -140,7 +141,7 @@ ve.ui.MWSettingsPage = function VeUiMWSettingsPage( name, config ) {
|
|||
new OO.ui.CheckboxInputWidget( { $: settingsPage.$ } ),
|
||||
{
|
||||
$: settingsPage.$,
|
||||
classes: [ 've-test-page-settings-noeditsection' ],
|
||||
classes: this.classes,
|
||||
align: 'inline',
|
||||
label: this.label,
|
||||
help: this.help || ''
|
||||
|
|
Loading…
Reference in a new issue