Merge "MWTransclusionDialog: Remove unnecessary empty label hack"

This commit is contained in:
jenkins-bot 2024-12-02 17:55:16 +00:00 committed by Gerrit Code Review
commit 8aa265358d

View file

@ -44,10 +44,8 @@ ve.ui.MWTransclusionDialog.static.actions = [
...ve.ui.MWTemplateDialog.static.actions, ...ve.ui.MWTemplateDialog.static.actions,
{ {
action: 'mode', action: 'mode',
modes: [ 'edit', 'insert' ], // label is set by updateModeActionState
// HACK: Will be set later, but we want measurements to be accurate in the mean time, this modes: [ 'edit', 'insert' ]
// will not be needed when T93290 is resolved
label: $( document.createTextNode( '\u00a0' ) )
}, },
{ {
action: 'back', action: 'back',