Remove the clear
button. It was pretty useless
because it didn't actually clear anything permanently and upon page reload the messages were there again.
This commit is contained in:
parent
516352c413
commit
deff6e071c
@ -1363,7 +1363,6 @@ visible_toolbar_buttons
|
||||
|
||||
{
|
||||
call: false,
|
||||
clear: true,
|
||||
emoji: true,
|
||||
toggle_occupants: true
|
||||
}
|
||||
@ -1381,8 +1380,6 @@ Allows you to show or hide buttons on the chatboxes' toolbars.
|
||||
console.log('Bare buddy JID is', data.model.get('jid'));
|
||||
// ... Third-party library code ...
|
||||
});
|
||||
* *clear*:
|
||||
Provides a button for clearing messages from a chatbox.
|
||||
* *emoji*:
|
||||
Enables rendering of emoji and provides a toolbar button for choosing them.
|
||||
* *toggle_occupants*:
|
||||
|
@ -370,7 +370,6 @@
|
||||
'label_start_call': __('Start a call'),
|
||||
'label_toggle_spoiler': label_toggle_spoiler,
|
||||
'show_call_button': _converse.visible_toolbar_buttons.call,
|
||||
'show_clear_button': _converse.visible_toolbar_buttons.clear,
|
||||
'show_spoiler_button': _converse.visible_toolbar_buttons.spoiler,
|
||||
'use_emoji': _converse.visible_toolbar_buttons.emoji,
|
||||
});
|
||||
|
@ -10,7 +10,3 @@
|
||||
{[ if (o.show_occupants_toggle) { ]}
|
||||
<li class="toggle-occupants fa fa-users" title="{{{o.label_hide_occupants}}}"></li>
|
||||
{[ } ]}
|
||||
{[ if (o.show_clear_button) { ]}
|
||||
<li class="toggle-clear right fa fa-eraser" title="{{{o.label_clear}}}"></li>
|
||||
{[ } ]}
|
||||
|
||||
|
@ -6,6 +6,3 @@
|
||||
{[ if (o.show_call_button) { ]}
|
||||
<li class="toggle-call fa fa-phone" title="{{{o.label_start_call}}}"></li>
|
||||
{[ } ]}
|
||||
{[ if (o.show_clear_button) { ]}
|
||||
<li class="toggle-clear right fa fa-eraser" title="{{{o.label_clear}}}"></li>
|
||||
{[ } ]}
|
||||
|
Loading…
Reference in New Issue
Block a user