Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
barvian committed Oct 28, 2024
2 parents c535fd1 + 16a8201 commit 2db0d65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
if (!isNaN(num) && min <= num && num <= max) next = num
}
// Manually update the input.value in case the number stays the same e.g. 09 == 9
console.log(next)
input.value = String(next)
value = next
}
Expand Down

0 comments on commit 2db0d65

Please sign in to comment.