From 0ac17350d6eb33a06a1dcb61928f159df3ab26b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 22 Feb 2024 17:54:46 +0100 Subject: [PATCH] Fix user list --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index f06dbc7..71318ae 100644 --- a/assets/script.js +++ b/assets/script.js @@ -181,7 +181,7 @@ async function togglearticlecreate(){ } async function renderarticles(){ - let template = document.querySelector('template[data-template-name="article"]').content.toString(); + let template = document.querySelector('template[data-template-name="article"]').innerHTML; let articles = await doAction( "/newsarticle", {