Removed top_n from algorithm call.

This commit is contained in:
2022-12-04 18:39:25 +01:00
parent 42b568fea2
commit 8d25208c83

View File

@@ -15,7 +15,7 @@ window.onload = function() {
*/ */
function calculateAnswer(event) { function calculateAnswer(event) {
console.info("Calculating answer for input..."); console.info("Calculating answer for input...");
let answer = algorithm(event.target.value, TOP_N); let answer = algorithm(event.target.value);
document.getElementById(ANSWER).innerText = answer; document.getElementById(ANSWER).innerText = answer;
} }