diff --git a/contrib/js/nntpchan/report.js b/contrib/js/nntpchan/report.js index 6310c6b..c6e1f42 100644 --- a/contrib/js/nntpchan/report.js +++ b/contrib/js/nntpchan/report.js @@ -32,7 +32,10 @@ function nntpchan_submit_censor(form, regular_url) { var result = document.getElementById("nntpchan_censor_result"); var show_result = function(msg) { - result.innerHTML = msg; + while(result.children.length > 0) { + result.children[0].remove(); + } + result.appendChild(document.createTextNode(msg)); } var handle_result = function(j) {