update notice logic

This commit is contained in:
Aliberk Sandıkçı 2024-01-07 16:21:35 +03:00
parent 3d819798dd
commit 9cc4e065c5
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -263,8 +263,8 @@
} else { } else {
innot = document.createElement("p"); innot = document.createElement("p");
innot.classList.add("innot"); innot.classList.add("innot");
innot_text = document.createTextNode(element); innot_text = element;
innot.appendChild(innot_text); innot.innerHTML = innot_text;
notic.appendChild(innot); notic.appendChild(innot);
} }
}); });