From 493fd707f810ad8a005db8761fe5664c0c92b72d Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 25 Aug 2017 13:16:18 -0400 Subject: [PATCH] UX: Add missing `btn` class to `flat-button` --- app/assets/javascripts/discourse/widgets/button.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/button.js.es6 b/app/assets/javascripts/discourse/widgets/button.js.es6 index ebc7b561495..ee130126f0c 100644 --- a/app/assets/javascripts/discourse/widgets/button.js.es6 +++ b/app/assets/javascripts/discourse/widgets/button.js.es6 @@ -78,5 +78,5 @@ export const ButtonClass = { export default createWidget('button', ButtonClass); createWidget('flat-button', jQuery.extend(ButtonClass, { - tagName: 'button.widget-button.btn-flat' + tagName: 'button.widget-button.btn.btn-flat' }));