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,
{
action: 'mode',
modes: [ 'edit', 'insert' ],
// HACK: Will be set later, but we want measurements to be accurate in the mean time, this
// will not be needed when T93290 is resolved
label: $( document.createTextNode( '\u00a0' ) )
// label is set by updateModeActionState
modes: [ 'edit', 'insert' ]
},
{
action: 'back',