Skip to content

Commit

Permalink
Launching code
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlinsk committed Jun 24, 2022
1 parent 28b42e2 commit 40bd62b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Deixa as palavras no input maiúscula sem precisar ativar o Caps Lock
function UpperCaseInput(e) {
var ss = e.target.selectionStart;
var se = e.target.selectionEnd;
e.target.value = e.target.value.toUpperCase();
e.target.selectionStart = ss;
e.target.selectionEnd = se;
}

0 comments on commit 40bd62b

Please sign in to comment.