mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-29 11:52:28 +02:00
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 chat = $("#chat");
|
||||||
const sidebar = $("#sidebar");
|
const sidebar = $("#sidebar");
|
||||||
const emojiSearchTerms = Object.keys(emojiMap);
|
const emojiSearchTerms = Object.keys(emojiMap);
|
||||||
|
|
Loading…
Reference in a new issue