diff --git a/contrib/static/mod.js b/contrib/static/mod.js index 2a8a24c..f28d334 100644 --- a/contrib/static/mod.js +++ b/contrib/static/mod.js @@ -193,7 +193,9 @@ function nntpchan_mod(mod_action, result_elem) { elem.innerHTML = "error: HTTP "+status; } // clear input - input.value = ""; + if (input) { + input.value = ""; + } } } if (mod_action.name) {