Commit 372da210 authored by JC Brand's avatar JC Brand

Bugfix. Pass event to handler

parent d44875e1
...@@ -237,7 +237,7 @@ converse.plugins.add('converse-muc-views', { ...@@ -237,7 +237,7 @@ converse.plugins.add('converse-muc-views', {
async render () { async render () {
this.el.setAttribute('id', this.model.get('box_id')); this.el.setAttribute('id', this.model.get('box_id'));
render(tpl_chatroom({ render(tpl_chatroom({
'markScrolled': () => this.markScrolled(), 'markScrolled': ev => this.markScrolled(ev),
'muc_show_logs_before_join': api.settings.get('muc_show_logs_before_join'), 'muc_show_logs_before_join': api.settings.get('muc_show_logs_before_join'),
'show_send_button': _converse.show_send_button, 'show_send_button': _converse.show_send_button,
}), this.el); }), this.el);
......
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