From 5998290783c695e7990fdfef7d315182be682fc0 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 2 Aug 2022 09:10:51 +0200 Subject: [PATCH] rec: bind event handler without jquery Also remove reference to not-existing filter2 checkbox. --- pdns/recursordist/html/local.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/recursordist/html/local.js b/pdns/recursordist/html/local.js index b11c986b02..97f301d7d4 100644 --- a/pdns/recursordist/html/local.js +++ b/pdns/recursordist/html/local.js @@ -227,8 +227,7 @@ function startup() { updateRingBuffers(); } - $("#filter1").click(updateRingBuffers); - $("#filter2").click(updateRingBuffers); + document.querySelector("#filter1").addEventListener('click', updateRingBuffers); update(); setInterval(update, 1000); -- 2.47.2