make post numbers insert backlink on click
This commit is contained in:
11
contrib/static/nntpchan.js
Normal file
11
contrib/static/nntpchan.js
Normal 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";
|
||||
|
||||
}
|
Reference in New Issue
Block a user