mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Replaces toolbar popup-menu with select-kit
This commit is contained in:
parent
d5293aeae2
commit
c1c31b99ce
21 changed files with 250 additions and 172 deletions
|
@ -123,7 +123,8 @@ class Toolbar {
|
|||
icon: button.label ? null : button.icon || button.id,
|
||||
action: button.action || 'toolbarButton',
|
||||
perform: button.perform || function() { },
|
||||
trimLeading: button.trimLeading
|
||||
trimLeading: button.trimLeading,
|
||||
popupMenu: button.popupMenu || false
|
||||
};
|
||||
|
||||
if (button.sendAction) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue