add check for mod feed page, feeds page does not have nntpchan_mod_target element
This commit is contained in:
parent
af02424d20
commit
62e59d4201
@ -146,7 +146,10 @@ function nntpchan_mod(mod_action, result_elem) {
|
||||
|
||||
// get the element
|
||||
var input = document.getElementById("nntpchan_mod_target");
|
||||
var target = input.value;
|
||||
var target = null;
|
||||
if (input) {
|
||||
target = input.value;
|
||||
}
|
||||
if (mod_action.parser) {
|
||||
target = mod_action.parser(target);
|
||||
}
|
||||
|
Reference in New Issue
Block a user