From 9bbc04f8e3a89266c6f0c33f0291e29ef363f149 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Tue, 13 Nov 2018 19:35:10 +0000 Subject: [PATCH] Fix typo --- luhn-algorithm/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luhn-algorithm/script.js b/luhn-algorithm/script.js index 5a9406a..8a65196 100644 --- a/luhn-algorithm/script.js +++ b/luhn-algorithm/script.js @@ -1,4 +1,4 @@ -window.activated_drawer_item_link = "/luhn-algorithm/"; +window.activated_drawer_item_link = "/luhn-algorithm"; document.addEventListener("keyup", function(event) { // stop any code that may normally run when enter key pressed @@ -25,7 +25,7 @@ function checkNumber() { } sum += newDigit; }); - + // displays evaluation message $("#validation_message").html(((sum % 10) == 0) ? "Number is valid" : "Number is invalid"); }