mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: btn class was duplicated on admin-menu-buttons (#7555)
This commit is contained in:
parent
0c6ebe66ce
commit
244c03573a
@ -3,9 +3,9 @@ import { h } from "virtual-dom";
|
|||||||
|
|
||||||
createWidget("admin-menu-button", {
|
createWidget("admin-menu-button", {
|
||||||
html(attrs) {
|
html(attrs) {
|
||||||
let className = "btn";
|
let className;
|
||||||
if (attrs.buttonClass) {
|
if (attrs.buttonClass) {
|
||||||
className += " " + attrs.buttonClass;
|
className = attrs.buttonClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
return h(
|
return h(
|
||||||
|
Loading…
Reference in New Issue
Block a user