mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 22:24:08 +01:00
Merge pull request #1948 from pi-hole/tweak/datatables
Tweak to datatables column rendering
This commit is contained in:
@@ -64,6 +64,10 @@ $(function () {
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
targets: "_all",
|
||||
render: $.fn.dataTable.render.text(),
|
||||
},
|
||||
],
|
||||
lengthMenu: [
|
||||
[10, 25, 50, 100, -1],
|
||||
@@ -82,6 +86,7 @@ $(function () {
|
||||
$(".deleteCustomCNAME").on("click", deleteCustomCNAME);
|
||||
},
|
||||
});
|
||||
|
||||
// Disable autocorrect in the search box
|
||||
var input = document.querySelector("input[type=search]");
|
||||
input.setAttribute("autocomplete", "off");
|
||||
|
||||
Reference in New Issue
Block a user