Merge pull request #1100 from Ghalid/patch-1

Disable text correction features, change types to make input fields easier to type in (especially for mobile devices)
This commit is contained in:
DL6ER
2020-04-07 13:59:44 +02:00
committed by GitHub
14 changed files with 67 additions and 24 deletions

View File

@@ -96,6 +96,12 @@ $(document).ready(function() {
$("#ip-custom").val("");
$("#ip-custom").prop("disabled", $("#select option:selected").val() !== "custom");
});
// Disable autocorrect in the search box
var input = document.querySelector("input[type=search]");
input.setAttribute("autocomplete", "off");
input.setAttribute("autocorrect", "off");
input.setAttribute("autocapitalize", "off");
input.setAttribute("spellcheck", false);
});
function initTable() {