Commit deff6e07 authored by JC Brand's avatar JC Brand

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.
parent 516352c4
......@@ -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>
{[ } ]}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment