diff --git a/files/assets/js/emoji_modal/emoji_modal.js b/files/assets/js/emoji_modal/emoji_modal.js index fb08f16f1..7ec56ac59 100644 --- a/files/assets/js/emoji_modal/emoji_modal.js +++ b/files/assets/js/emoji_modal/emoji_modal.js @@ -174,10 +174,6 @@ function fetchEmojis() { }) } -/** -* -* @param {Event} e -*/ function switchEmojiTab(e) { const className = e.currentTarget.dataset.className; @@ -221,10 +217,6 @@ async function start_search() { classesSelectorDOM.children[i].children[0].classList.remove("active"); } -/** -* Add the selected emoji to the targeted text area -* @param {Event} event -*/ function emojiAddToInput(event) { // This should not happen if used properly but whatever diff --git a/files/assets/js/emoji_modal/inline_group_modal.js b/files/assets/js/emoji_modal/inline_group_modal.js index 3328abf70..2b8c93ae3 100644 --- a/files/assets/js/emoji_modal/inline_group_modal.js +++ b/files/assets/js/emoji_modal/inline_group_modal.js @@ -24,11 +24,6 @@ const groupsSearchDictionary = { this.array.splice(target, 0, groupName); }, - /** - * We also check for substrings! (sigh) - * @param {String} groupName - * @returns {Set} - */ completeSearch: function(query) { query = query.toLowerCase() const result = new Set(); diff --git a/files/assets/js/emoji_modal/inline_user_modal.js b/files/assets/js/emoji_modal/inline_user_modal.js index dd0514bc6..7eff21d05 100644 --- a/files/assets/js/emoji_modal/inline_user_modal.js +++ b/files/assets/js/emoji_modal/inline_user_modal.js @@ -24,11 +24,6 @@ const usersSearchDictionary = { this.array.splice(target, 0, userName); }, - /** - * We also check for substrings! (sigh) - * @param {String} userName - * @returns {Set} - */ completeSearch: function(query) { query = query.toLowerCase() const result = new Set(); diff --git a/files/assets/js/emoji_modal/search_dictionary.js b/files/assets/js/emoji_modal/search_dictionary.js index 9e53b68e0..54cfba59a 100644 --- a/files/assets/js/emoji_modal/search_dictionary.js +++ b/files/assets/js/emoji_modal/search_dictionary.js @@ -33,11 +33,6 @@ const emojisSearchDictionary = { this.dict.splice(target, 0, new EmojisDictNode(tag, emojiName)); }, - /** - * We also check for substrings! (sigh) - * @param {String} tag - * @returns {Set} - */ completeSearch: function(query) { query = query.toLowerCase() const result = new Set();