mirror of
https://github.com/thelounge/thelounge
synced 2025-02-16 21:28:23 +00:00
Merge pull request #2284 from thelounge/xpaw/fix-2209
Hide autocompletion menu when input is submitted
This commit is contained in:
commit
beb2af73b7
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue