Skip to content

Commit

Permalink
fix: re-add value to hp guard
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Apr 25, 2023
1 parent 5996907 commit 60b6949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracker/ui/Updating.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}
if (
!/^(t?m?-?\d*\.?\d*(Backspace|Delete|Arrow\w+)?)$/.test(
evt.key
this.value + evt.key
)
) {
evt.preventDefault();
Expand Down

0 comments on commit 60b6949

Please sign in to comment.