Fix typo
This commit is contained in:
1 parent
b3947cce47
commit
9bbc04f8e3
1 file changed
+2
-2
@@ -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");
|
||||
}
|
||||
Reference in new issue
Block a user