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