mirror of
https://github.com/pi-hole/web.git
synced 2026-05-02 14:42:23 +01:00
Use $(fn)
This is the recommended way in jQuery 3.x. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@ function showAlert(type, message) {
|
||||
alertElement.delay(8000).fadeOut(2000);
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$(function () {
|
||||
$("#btnAdd").on("click", addCustomDNS);
|
||||
|
||||
table = $("#customDNSTable").DataTable({
|
||||
|
||||
Reference in New Issue
Block a user