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