strip emoji search input

remotes/1693045480750635534/spooky-22
Aevann1 2022-09-05 21:46:04 +02:00
parent b364838ad5
commit 4dc7e73499
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ function switchEmojiTab(e)
}
async function start_search() {
emojiSearcher.addQuery(emojiSearchBarDOM.value);
emojiSearcher.addQuery(emojiSearchBarDOM.value.trim());
// Remove any selected tab, now it is meaningless
for(let i = 0; i < classesSelectorDOM.children.length; i++)

View File

@ -22,7 +22,7 @@ set CACHE_VER = {
'js/comments_admin.js': 4000,
'js/comments_v.js': 4000,
'js/submission_listing.js': 4000,
'js/emoji_modal.js': 4000,
'js/emoji_modal.js': 4001,
'js/formatting.js': 4000,
'js/lottery.js': 4000,
'js/marked.js': 4000,