update notice logic

This commit is contained in:
asandikci 2024-01-07 16:21:35 +03:00
parent 3d819798dd
commit 9cc4e065c5
No known key found for this signature in database
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);
} }
}); });