Bugfix. Pass event to handler
This commit is contained in:
parent
d44875e138
commit
372da2107a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user