Scrolled to bottom fix.

This commit is contained in:
retoor 2025-05-27 12:10:26 +02:00
parent df120098f9
commit b5e1ba72d0

View File

@ -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
}