forked from AkkomaGang/akkoma-fe
fix 8x spaces inside this paren
This commit is contained in:
parent
fee654f1ee
commit
f1e1f20a8d
2 changed files with 4 additions and 4 deletions
|
@ -13,8 +13,8 @@ const filterByKeyword = (list, keyword = '') => {
|
|||
const keywordLowercase = keyword.toLowerCase()
|
||||
const orderedEmojiList = []
|
||||
for (const emoji of list) {
|
||||
const indexOfKeyword = emoji.displayText.toLowerCase().indexOf( keywordLowercase )
|
||||
if ( indexOfKeyword > -1 ) {
|
||||
const indexOfKeyword = emoji.displayText.toLowerCase().indexOf(keywordLowercase)
|
||||
if (indexOfKeyword > -1) {
|
||||
orderedEmojiList.splice(indexOfKeyword, 0, emoji)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,8 +31,8 @@ const ReactButton = {
|
|||
const filterWordLowercase = this.filterWord.toLowerCase()
|
||||
const orderedEmojiList = []
|
||||
for (const emoji of this.$store.state.instance.emoji) {
|
||||
const indexOfFilterWord = emoji.displayText.toLowerCase().indexOf( filterWordLowercase )
|
||||
if ( indexOfFilterWord > -1 ) {
|
||||
const indexOfFilterWord = emoji.displayText.toLowerCase().indexOf(filterWordLowercase)
|
||||
if (indexOfFilterWord > -1) {
|
||||
orderedEmojiList.splice(indexOfFilterWord, 0, emoji)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue