From 652dcbd14d212fc7194953b7816eadc24fb3fdc3 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 2 Aug 2022 09:19:14 +0200 Subject: [PATCH] rec: set template output without jquery --- pdns/recursordist/html/local.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/recursordist/html/local.js b/pdns/recursordist/html/local.js index f514c4e333..5512a983ce 100644 --- a/pdns/recursordist/html/local.js +++ b/pdns/recursordist/html/local.js @@ -35,8 +35,8 @@ function startup() { t = getTemplate(name); cachedTemplates[name] = t; } - var h = t(ctx); - $('#' + name).html(h); + const html = t(ctx); + document.querySelector('#' + name).innerHTML = html; }; var qpsgraph = new Rickshaw.Graph({ -- 2.47.2