mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -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)
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -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)
|
||||
})
|
||||
|
@@ -51,7 +51,7 @@
|
||||
</div>
|
||||
<div class="tabContent mainEditor" id="text">
|
||||
<div id="inputWhichTextTabs" class="textTab"></div>
|
||||
<textarea class="textarea" id="inputText" placeholder="" oninput="updateText()"></textarea>
|
||||
<textarea class="textarea" id="inputText" placeholder="" oninput="updateText()" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
|
||||
<input type="text" class="input text" placeholder="Mana Cost" id="inputManaCost" oninput="cardImageUpdated()" value="">
|
||||
<div class="bar"></div>
|
||||
<div class="title">How To Use Text Codes</div>
|
||||
|
Reference in New Issue
Block a user