mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
Revert "Remove unneeded show() in WikiEditor toolbar"
because apparently we do have empty tools boxes. Alternative
implementation in I4652ade66c6de864ee3e74b3817ed9b93967ce3d
This reverts commit dd46fc383b
.
Change-Id: I358c34d63261989d49b0a4156cbc05b544727d5c
This commit is contained in:
parent
ab9a363620
commit
39e3676b35
|
@ -61,6 +61,9 @@ api : {
|
|||
// Tool
|
||||
$group.append( $.wikiEditor.modules.toolbar.fn.buildTool( context, tool, data[type][tool] ) );
|
||||
}
|
||||
if ( $group.children().length ) {
|
||||
$group.show();
|
||||
}
|
||||
smooth = false;
|
||||
break;
|
||||
case 'pages':
|
||||
|
|
Loading…
Reference in a new issue