Elastic: Don't use .toolbar-button class in sidebar

pull/5578/merge
Aleksander Machniak 6 years ago
parent b6a10acfbe
commit a284f567d3

@ -490,7 +490,10 @@ function rcube_elastic_ui()
button.prependTo(toolbar).wrap('<li role="menuitem">'); button.prependTo(toolbar).wrap('<li role="menuitem">');
} }
else { else {
button.appendTo(toolbar).addClass('icon toolbar-button'); button.appendTo(toolbar).addClass('icon');
if (!parent.is('.sidebar')) {
button.addClass('toolbar-button');
}
} }
} }

Loading…
Cancel
Save