From bf4ba1b5b92722d581997e7ed284b97df81de755 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 26 May 2020 06:36:34 +0300 Subject: [PATCH] Use `$` instead of `jQuery`. Signed-off-by: XhmikosR --- scripts/pi-hole/js/ip-address-sorting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/ip-address-sorting.js b/scripts/pi-hole/js/ip-address-sorting.js index 8bbaa152..3b3f5e6f 100644 --- a/scripts/pi-hole/js/ip-address-sorting.js +++ b/scripts/pi-hole/js/ip-address-sorting.js @@ -5,9 +5,9 @@ * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ -// This code has been taken from +// This code has been adapted from // https://datatables.net/plug-ins/sorting/ip-address -jQuery.extend(jQuery.fn.dataTableExt.oSort, { +$.extend($.fn.dataTableExt.oSort, { "ip-address-pre": function (a) { if (!a) { return 0;