From: Chris Hofstaedtler Date: Tue, 2 Aug 2022 07:19:14 +0000 (+0200) Subject: rec: set template output without jquery X-Git-Tag: rec-4.8.0-alpha1~65^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=652dcbd14d212fc7194953b7816eadc24fb3fdc3;p=thirdparty%2Fpdns.git rec: set template output without jquery --- 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({