Skip to content

Commit

Permalink
fixes #136 & #123
Browse files Browse the repository at this point in the history
  • Loading branch information
frederik1904 authored and NVedsted committed Mar 10, 2020
1 parent d181a67 commit 56ac7f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions static/navneleg.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function navneleg() {

switch (guess) {
case currentName.toLowerCase():
case fullName.toLowerCase():
case als.toLowerCase():
status.innerHTML = "Korrekt! Det fulde navn er " + fullName +
(als.toLowerCase() === fullName.toLowerCase() ? "." : " og kaldenavn er " + als + ".");
Expand Down
2 changes: 1 addition & 1 deletion static/navneleg.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56ac7f9

Please sign in to comment.