mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
queries: replace the deprecated jQuery.parseJSON with JSON.parse (#3435)
This commit is contained in:
@@ -539,7 +539,7 @@ $(() => {
|
|||||||
if (cursor !== null) d.cursor = cursor;
|
if (cursor !== null) d.cursor = cursor;
|
||||||
},
|
},
|
||||||
dataFilter(d) {
|
dataFilter(d) {
|
||||||
const json = jQuery.parseJSON(d);
|
const json = JSON.parse(d);
|
||||||
cursor = json.cursor; // Extract cursor from original data
|
cursor = json.cursor; // Extract cursor from original data
|
||||||
if (liveMode) {
|
if (liveMode) {
|
||||||
utils.setTimer(liveUpdate, REFRESH_INTERVAL.query_log);
|
utils.setTimer(liveUpdate, REFRESH_INTERVAL.query_log);
|
||||||
|
|||||||
Reference in New Issue
Block a user