From 9741584ae878a7759295a922e5067c0995082f11 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 6 May 2016 17:20:43 -0400 Subject: [PATCH] FIX: Hide invite button on mobile --- .../discourse/views/topic-footer-main-buttons.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 b/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 index 24de5d9c0bd..8852d3558f6 100644 --- a/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 +++ b/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 @@ -27,7 +27,7 @@ export default ContainerView.extend({ } } - if (this.get('topic.details.can_invite_to')) { + if (!mobileView && this.get('topic.details.can_invite_to')) { this.attachViewClass('invite-reply-button'); }