From 479d65700149238e23b4edc5e7b523efebf296f7 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 29 Jan 2018 14:59:42 +0100 Subject: [PATCH] Fixes #999 --- CHANGES.md | 1 + src/converse-muc.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 54b2978bd..429e2840c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,7 @@ - #993 `moment.format` is not a function error when sending a message. - #994 TypeError when using the `user.login` API. - #995 `ChildNode.replaceWith` is not available in Internet Explorer or Safari. Use `Node.replaceChild` instead. +- #999 MUC Chat Send button causes page reload - #1000 Scroll to bottom when maximizing a chat room. - #1003 Handle bare MUC room JIDs diff --git a/src/converse-muc.js b/src/converse-muc.js index 5114af1e5..05a3e78bf 100644 --- a/src/converse-muc.js +++ b/src/converse-muc.js @@ -435,7 +435,7 @@ 'click .new-msgs-indicator': 'viewUnreadMessages', 'click .occupant': 'onOccupantClicked', 'keypress .chat-textarea': 'keyPressed', - 'click .send-button': 'onSendButtonClicked' + 'click .send-button': 'onFormSubmitted' }, initialize () {