Archived
1
0

another check for no element

This commit is contained in:
Jeff Becker 2016-03-25 10:01:33 -04:00
parent 5d14475373
commit 2959be4564
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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) {