make it so that we don't error when we have no postform, i.e. ukko
This commit is contained in:
parent
de51b912ff
commit
8411568530
@ -4,8 +4,11 @@
|
||||
|
||||
|
||||
// insert a backlink for a post given its short hash
|
||||
function nntpchan_backlink(shorthash) {
|
||||
function nntpchan_backlink(shorthash)
|
||||
{
|
||||
var elem = document.getElementById("postform_message");
|
||||
elem.value += ">>" + shorthash + "\n";
|
||||
|
||||
if ( elem )
|
||||
{
|
||||
elem.value += ">>" + shorthash + "\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user