Merge pull request #2284 from thelounge/xpaw/fix-2209
Hide autocompletion menu when input is submitted
This commit is contained in:
commit
beb2af73b7
@ -24,6 +24,12 @@ module.exports = {
|
||||
},
|
||||
};
|
||||
|
||||
$("#form").on("submit", () => {
|
||||
if (enabled) {
|
||||
textcomplete.hide();
|
||||
}
|
||||
});
|
||||
|
||||
const chat = $("#chat");
|
||||
const sidebar = $("#sidebar");
|
||||
const emojiSearchTerms = Object.keys(emojiMap);
|
||||
|
Loading…
Reference in New Issue
Block a user