fix 8x spaces inside this paren
This commit is contained in:
parent
fee654f1ee
commit
f1e1f20a8d
|
@ -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 New Issue