mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:20:23 +08: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", {
|
||||
html(attrs) {
|
||||
let className = "btn";
|
||||
let className;
|
||||
if (attrs.buttonClass) {
|
||||
className += " " + attrs.buttonClass;
|
||||
className = attrs.buttonClass;
|
||||
}
|
||||
|
||||
return h(
|
||||
|
Loading…
x
Reference in New Issue
Block a user