mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 04:33:58 +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:
@@ -10,7 +10,7 @@
|
||||
var table;
|
||||
var token = $("#token").text();
|
||||
|
||||
$(document).ready(function () {
|
||||
$(function () {
|
||||
$("#btnAdd").on("click", addGroup);
|
||||
|
||||
table = $("#groupsTable").DataTable({
|
||||
|
||||
Reference in New Issue
Block a user