another check for no element
This commit is contained in:
parent
5d14475373
commit
2959be4564
@ -193,9 +193,11 @@ function nntpchan_mod(mod_action, result_elem) {
|
||||
elem.innerHTML = "error: HTTP "+status;
|
||||
}
|
||||
// clear input
|
||||
if (input) {
|
||||
input.value = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (mod_action.name) {
|
||||
var url = mod_action.name + "/" + target;
|
||||
ajax.open(mod_action.method || "GET", url);
|
||||
|
Reference in New Issue
Block a user