Scrolled to bottom fix.

This commit is contained in:
retoor 2025-05-27 12:08:53 +02:00
parent 1c1d578db7
commit df120098f9

View File

@ -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) {