Add classes to notification dropdown buttons

This commit is contained in:
Robin Ward 2017-07-28 16:35:14 -04:00
parent 67556e6381
commit 15fa514791

View File

@ -43,7 +43,7 @@ export default createWidget('topic-notifications-button', {
const details = buttonDetails(level);
const button = {
className: `btn`,
className: `btn toggle-notification-options`,
label: null,
icon: details.icon,
action: 'toggleDropdown',
@ -53,7 +53,7 @@ export default createWidget('topic-notifications-button', {
if (this.attrs.showFullTitle) {
button.label = `topic.notifications.${details.key}.title`;
} else {
button.className = 'btn notifications-dropdown';
button.className = 'btn toggle-notifications-options notifications-dropdown';
}
return this.attach('button', button);