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

@@ -10,7 +10,7 @@
var table;
var token = $("#token").text();
$(document).ready(function () {
$(function () {
$("#btnAdd").on("click", addGroup);
table = $("#groupsTable").DataTable({