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

@@ -62,7 +62,7 @@ function renderMessage(data, type, row) {
}
}
$(document).ready(function () {
$(function () {
$("#messagesTable").DataTable({
ajax: {
url: "api_db.php?messages",