diff --git a/client/js/autocompletion.js b/client/js/autocompletion.js index 9e22b1e6..8807f861 100644 --- a/client/js/autocompletion.js +++ b/client/js/autocompletion.js @@ -24,6 +24,12 @@ module.exports = { }, }; +$("#form").on("submit", () => { + if (enabled) { + textcomplete.hide(); + } +}); + const chat = $("#chat"); const sidebar = $("#sidebar"); const emojiSearchTerms = Object.keys(emojiMap);