Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akbor committed Aug 30, 2023
1 parent f28a511 commit a81d6af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/st_keyup/frontend/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ function onRender(event) {
}

if(type == "password"){
text_input.type = "password"
input.type = "password"
}
else if (type == "phone" || type == "tel") {
text_input.type = "tel"
input.type = "tel"
}
else if (type == "email"){
text_input.type = "email"
input.type = "email"
}
else if (type =="number"){
text_input.type = "number"
input.type = "number"
}else{
text_input.type = "text"
input.type = "text"
}

if (max_chars) {
Expand Down

0 comments on commit a81d6af

Please sign in to comment.