diff --git a/script.js b/script.js index 12e91cf..a6e2848 100644 --- a/script.js +++ b/script.js @@ -15,7 +15,7 @@ window.onload = function() { */ function calculateAnswer(event) { 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; }