From d63cf64944a252a0f308167f6d4f28bd123acb5d Mon Sep 17 00:00:00 2001 From: Alys Date: Thu, 3 Dec 2015 10:03:59 +1000 Subject: [PATCH] allow Fetch Recent Messages button to appear on newly-created groups --- website/views/options/social/chat-box.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/views/options/social/chat-box.jade b/website/views/options/social/chat-box.jade index 1bc2602b76..633d0d16a2 100644 --- a/website/views/options/social/chat-box.jade +++ b/website/views/options/social/chat-box.jade @@ -4,7 +4,7 @@ div.chat-form.guidelines-not-accepted(ng-if='!user.flags.communityGuidelinesAcce div button.btn.btn-warning(ng-click='acceptCommunityGuidelines()')=env.t('iAcceptCommunityGuidelines') .chat-buttons - button(ng-if='group.chat.length > 0 || group.memberCount > 1', type="button", ng-click='sync(group)')=env.t('toolTipMsg') + button(type="button", ng-click='sync(group)')=env.t('toolTipMsg') form.chat-form(ng-if='user.flags.communityGuidelinesAccepted' ng-submit='postChat(group,message.content)') div(ng-controller='AutocompleteCtrl') @@ -16,5 +16,5 @@ form.chat-form(ng-if='user.flags.communityGuidelinesAccepted' ng-submit='postCha .chat-controls.clearfix .chat-buttons input.btn(type='submit', value=env.t('sendChat'), ng-disabled='_sending') - button.btn(ng-if='group.chat.length > 0 || group.memberCount > 1', type="button", ng-click='sync(group)', ng-disabled='_sending')=env.t('toolTipMsg') + button.btn(type="button", ng-click='sync(group)', ng-disabled='_sending')=env.t('toolTipMsg') include ../../shared/formatting-help