mirror of
https://github.com/tomoko-dev9/nntpchan.git
synced 2026-06-01 20:34:46 +02:00
add quick reply (initial)
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user