Use $(fn)

This is the recommended way in jQuery 3.x.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-23 17:04:11 +03:00
parent 758bd21870
commit cecb5aa88c
15 changed files with 17 additions and 17 deletions

View File

@@ -37,7 +37,7 @@ function showAlert(type, message) {
alertElement.delay(8000).fadeOut(2000);
}
$(document).ready(function () {
$(function () {
$("#btnAdd").on("click", addCustomDNS);
table = $("#customDNSTable").DataTable({