From 372da2107a92faca22e25c0473965fa63cbd9338 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 17 Aug 2020 21:27:47 +0200 Subject: [PATCH] Bugfix. Pass event to handler --- src/converse-muc-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converse-muc-views.js b/src/converse-muc-views.js index 3f868c261..e7d8941ab 100644 --- a/src/converse-muc-views.js +++ b/src/converse-muc-views.js @@ -237,7 +237,7 @@ converse.plugins.add('converse-muc-views', { async render () { this.el.setAttribute('id', this.model.get('box_id')); render(tpl_chatroom({ - 'markScrolled': () => this.markScrolled(), + 'markScrolled': ev => this.markScrolled(ev), 'muc_show_logs_before_join': api.settings.get('muc_show_logs_before_join'), 'show_send_button': _converse.show_send_button, }), this.el);