Scrolled to bottom fix.
This commit is contained in:
parent
1c1d578db7
commit
df120098f9
@ -75,7 +75,7 @@ class ChatInputComponent extends HTMLElement {
|
||||
authors.forEach(author => {
|
||||
const lowerAuthor = author.toLowerCase();
|
||||
const distance = this.levenshteinDistance(lowerMention, lowerAuthor);
|
||||
if(!this.isSubSequence(lowerMention,lowerAuthor)) {
|
||||
if(!this.isSubsequence(lowerMention,lowerAuthor)) {
|
||||
distance += 1
|
||||
}
|
||||
if (distance < minDistance) {
|
||||
|
Loading…
Reference in New Issue
Block a user