Initial commit

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-05-03 18:02:04 -07:00
commit 126db039e2
27 changed files with 1033 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
function doQuote(sender) {
let id_text = $("#id_text");
let caret = id_text[0].selectionStart;
let text = id_text.val();
let to_add = ">>" + sender.target.innerText + "\n";
id_text.val(text.substring(0, caret) + to_add + text.substring(caret));
}
$(document).on("click", ".post_id", doQuote);