mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01:00
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:
@@ -258,4 +258,11 @@ $(document).ready(function() {
|
||||
alInfo.hide();
|
||||
});
|
||||
}
|
||||
|
||||
// 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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user