removed autocorrect

This commit is contained in:
Kyle
2019-12-25 11:25:14 -08:00
parent 5a725fd6f4
commit 4c303c3a9e
3 changed files with 25 additions and 1 deletions

View File

@@ -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)
})