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