Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/static/overchan.js

12 lines
284 B
JavaScript
Raw Normal View History

2017-04-19 16:27:40 +05:00
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";
}