From df120098f976732f847139825f9f00b506ff0e4b Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 27 May 2025 12:08:53 +0200 Subject: [PATCH] Scrolled to bottom fix. --- src/snek/static/chat-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snek/static/chat-input.js b/src/snek/static/chat-input.js index d91b51d..2d84658 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -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) {