MWTransclusionDialog: Remove unnecessary empty label hack

The blocking task was resolved 7 years ago...

Change-Id: I4853af45f6ea210be9478fd1deac8efb13e47877
This commit is contained in:
Ed Sanders 2024-12-02 15:24:50 +00:00
parent b9d1106eb0
commit 6a26905d87

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',