mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
removed autocorrect
This commit is contained in:
@@ -1009,3 +1009,18 @@ function importText(text, target) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
var inputsToRemoveAutocorrect = document.querySelectorAll("input");
|
||||
|
||||
inputsToRemoveAutocorrect.forEach(input => {
|
||||
input.setAttribute("autocomplete", "off")
|
||||
input.setAttribute("autocorrect", "off")
|
||||
input.setAttribute("autocapitalize", "off")
|
||||
input.setAttribute("spellcheck", false)
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user