add quick reply (initial)
This commit is contained in:
11
contrib/static/overchan.js
Normal file
11
contrib/static/overchan.js
Normal 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";
|
||||
}
|
Reference in New Issue
Block a user