Archived
1
0

add quick reply (initial)

This commit is contained in:
Jeff Becker
2017-04-19 07:27:40 -04:00
parent eeb57e3ae6
commit b83b75338c
5 changed files with 17 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
function quickreply(shorthash, longhash, url) {
if (!window.location.pathname.startsWith("/t/"))
{
window.location.href = url;
return;
}
var elem = document.getElementById("comment");
if(!elem) return;
elem.value += ">>" + shorthash + "\n";
}