Skip to content

Commit 970cbed

Browse files
otmon76danipoma
andauthored
Update 1-js/02-first-steps/11-logical-operators/9-check-login/solution.md
Co-authored-by: Daniel Pomajbík <[email protected]>
1 parent 017bd68 commit 970cbed

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/11-logical-operators/9-check-login

1 file changed

+1
-1
lines changed

1-js/02-first-steps/11-logical-operators/9-check-login/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (uživatelskéJméno === 'Správce') {
99

1010
if (heslo === 'Vládce') {
1111
alert( 'Vítáme vás!' );
12-
} else if (pass === '' || pass === null) {
12+
} else if (heslo === '' || heslo === null) {
1313
alert( 'Zrušeno' );
1414
} else {
1515
alert( 'Špatné heslo' );

0 commit comments

Comments
 (0)