mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 13:15:40 +02:00
12 lines
291 B
JavaScript
12 lines
291 B
JavaScript
(function() {
|
|
function disableSpellCheck() {
|
|
let selector = 'input[type=text], textarea';
|
|
let textFields = document.querySelectorAll(selector);
|
|
|
|
for (let field of textFields) {
|
|
field.spellcheck = false;
|
|
}
|
|
}
|
|
|
|
disableSpellCheck();
|
|
})();
|