mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 06:27:01 +00:00
MWTransclusionDialog: Remove unnecessary empty label hack
The blocking task was resolved 7 years ago... Change-Id: I4853af45f6ea210be9478fd1deac8efb13e47877
This commit is contained in:
parent
b9d1106eb0
commit
6a26905d87
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue