diff --git a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 index 10505a8d55a..bc5338a561b 100644 --- a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 @@ -317,6 +317,11 @@ export default createWidget('post-menu', { visibleButtons.splice(visibleButtons.length - 1, 0, showMore); } + visibleButtons.unshift(h('div.like-button', [ + this.attachButton("like-count", attrs), + this.attachButton("like", attrs) + ])); + Object.keys(_extraButtons).forEach(k => { const builder = _extraButtons[k]; if (builder) { @@ -353,11 +358,6 @@ export default createWidget('post-menu', { } }); - visibleButtons.unshift(h('div.like-button', [ - this.attachButton("like-count", attrs), - this.attachButton("like", attrs) - ])); - const postControls = []; const repliesButton = this.attachButton('replies', attrs);