Skip to content

Commit 8d81637

Browse files
committed
Bugfix. Make sure empty history feedback message gets removed
when messages appear
1 parent 095a1bc commit 8d81637

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/templates/chatroom.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ export default (o) => html`
1010
<div class="chat-body chatroom-body row no-gutters">
1111
<div class="chat-area col">
1212
<div class="chat-content ${ o.show_send_button ? 'chat-content-sendbutton' : '' }" aria-live="polite">
13-
${ o.muc_show_logs_before_join ? html`<div class="empty-history-feedback"><span>${ i18n_no_history }</span></div>` : '' }
14-
<div class="chat-content__messages"></div>
13+
<div class="chat-content__messages">
14+
${ o.muc_show_logs_before_join ? html`<div class="empty-history-feedback"><span>${ i18n_no_history }</span></div>` : '' }
15+
</div>
1516
<div class="chat-content__notifications"></div>
1617
</div>
1718
<div class="bottom-panel"></div>

0 commit comments

Comments
 (0)