From 075cc1a8bb77f0166b6ae02c4f3b96d2ac804cab Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 25 Aug 2017 13:44:28 -0400 Subject: [PATCH] FIX: some button classes --- .../javascripts/discourse/components/pinned-button.js.es6 | 2 ++ .../discourse/widgets/topic-notifications-button.js.es6 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/pinned-button.js.es6 b/app/assets/javascripts/discourse/components/pinned-button.js.es6 index ddd302a082b..fe6dac72ded 100644 --- a/app/assets/javascripts/discourse/components/pinned-button.js.es6 +++ b/app/assets/javascripts/discourse/components/pinned-button.js.es6 @@ -6,6 +6,8 @@ export default DropdownButton.extend({ descriptionKey: 'help', classNames: ['pinned-options'], title: '', + buttonExtraClasses: 'btn-icon-text', + longDescription: function(){ const topic = this.get('topic'); const globally = topic.get('pinned_globally') ? '_globally' : ''; diff --git a/app/assets/javascripts/discourse/widgets/topic-notifications-button.js.es6 b/app/assets/javascripts/discourse/widgets/topic-notifications-button.js.es6 index 6dddbb2272f..9293c36cc6f 100644 --- a/app/assets/javascripts/discourse/widgets/topic-notifications-button.js.es6 +++ b/app/assets/javascripts/discourse/widgets/topic-notifications-button.js.es6 @@ -43,7 +43,7 @@ export default createWidget('topic-notifications-button', { const details = buttonDetails(level); const button = { - className: `btn toggle-notification-options`, + className: `toggle-notification-options`, label: null, icon: details.icon, action: 'toggleDropdown',