2
0
Fork 0
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:
Joffrey JAFFEUX 2017-12-13 10:49:32 +01:00 committed by GitHub
parent d5293aeae2
commit c1c31b99ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 250 additions and 172 deletions

View file

@ -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) {