From 973afa0cc2574deabae669a32544d36bc7da572e Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 27 May 2025 12:33:04 +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 8293097..aa534cc 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -261,7 +261,7 @@ levenshteinDistance(a, b) { const millisecondsDifference = event2Time.getTime() - event1Time.getTime(); return millisecondsDifference / 1000; } - isSubsequence(input, array) { + isSubsequence(s, t) { let i = 0, j = 0; while (i < s.length && j < t.length) { if (s[i] === t[j]) {