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

@@ -351,3 +351,12 @@ document.getElementById("mainGrid").addEventListener("touchstart", function() {
doubleTouchStartTimestamp = now
})
//Updated :D
var inputsToRemoveAutocorrect = document.querySelectorAll("input");
inputsToRemoveAutocorrect.forEach(input => {
input.setAttribute("autocomplete", "off")
input.setAttribute("autocorrect", "off")
input.setAttribute("autocapitalize", "off")
input.setAttribute("spellcheck", false)
})