Skip to content

Commit 4f73e71

Browse files
committed
Bug fix
1 parent f62909a commit 4f73e71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

js/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ dialogButton.addEventListener('click', event => {
4040
return;
4141
}
4242
if (inputX.value.trim() === '') {
43-
valid = false;
4443
inputX.classList.add('error');
4544
setTimeout(() => { inputX.classList.remove('error'); }, 850);
4645
}
4746
if (inputO.value.trim() === '') {
48-
valid = false;
4947
inputO.classList.add('error');
5048
setTimeout(() => { inputO.classList.remove('error'); }, 850);
5149
}

0 commit comments

Comments
 (0)