From 9cc4e065c5a1e979974112fae2b42b579bb1fb5c Mon Sep 17 00:00:00 2001 From: asandikci Date: Sun, 7 Jan 2024 16:21:35 +0300 Subject: [PATCH] update notice logic --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 9a2cb8a..60afc73 100644 --- a/index.php +++ b/index.php @@ -263,8 +263,8 @@ } else { innot = document.createElement("p"); innot.classList.add("innot"); - innot_text = document.createTextNode(element); - innot.appendChild(innot_text); + innot_text = element; + innot.innerHTML = innot_text; notic.appendChild(innot); } });