Archived
1
0

make it so that we don't error when we have no postform, i.e. ukko

This commit is contained in:
jeff 2015-09-04 17:20:02 -04:00
parent de51b912ff
commit 8411568530

View File

@ -4,8 +4,11 @@
// insert a backlink for a post given its short hash // insert a backlink for a post given its short hash
function nntpchan_backlink(shorthash) { function nntpchan_backlink(shorthash)
{
var elem = document.getElementById("postform_message"); var elem = document.getElementById("postform_message");
if ( elem )
{
elem.value += ">>" + shorthash + "\n"; elem.value += ">>" + shorthash + "\n";
}
} }