Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
satan
escape-room
Commits
8db8b528
Commit
8db8b528
authored
Oct 07, 2021
by
Franca
Browse files
fix: clear timer on correct input
Co-authored-by:
Sebastian Speitel
<
sebastian.speitel@outlook.de
>
parent
bb9baa63
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
8db8b528
...
...
@@ -78,6 +78,10 @@ async function checkPin(pin: string) {
if
(
equals
(
hash
,
unref
(
correctHash
)))
{
correct
.
value
=
true
;
state
.
value
=
"
correct
"
;
if
(
resetTimeout
)
{
window
.
clearTimeout
(
resetTimeout
);
}
}
else
{
correct
.
value
=
false
;
state
.
value
=
"
incorrect
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment