Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-16 10:35:44 -05:00
parent 612c9c8989
commit f0a9a67c29

View File

@ -32,7 +32,10 @@ function nntpchan_submit_censor(form, regular_url) {
var result = document.getElementById("nntpchan_censor_result"); var result = document.getElementById("nntpchan_censor_result");
var show_result = function(msg) { 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) { var handle_result = function(j) {