Skip to content

Commit

Permalink
Removed console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Aug 16, 2024
1 parent 5bfc823 commit fb31452
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/resources/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ document.addEventListener("DOMContentLoaded", function () {
var inputField = document.getElementById("userCode");
inputField.oninput = function (e) {
var value = e.target.value;
console.log(e.inputType);
console.log(e.target.value);
console.log(e.target.length);
var newValue = this.value.toUpperCase();
if (value.length === 4 && e.inputType === "insertText" && !value.endsWith("-")) {
newValue += "-";
Expand Down

0 comments on commit fb31452

Please sign in to comment.