make post numbers insert backlink on click

This commit is contained in:
jeff committed 2015-09-04 17:09:43 -04:00
1 parent fb06097557
commit abefe50eb6
5 files changed
+15 -2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
//
// nntpchan.js -- frontend ui niceness
//
// insert a backlink for a post given its short hash
function nntpchan_backlink(shorthash) {
var elem = document.getElementById("postform_message");
elem.value += ">>" + shorthash + "\n";
}