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