X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=d5c4461080789aa6e2af49b63720a98bbca6b654;hp=8a401312ca2bb18968b7c31cf6688ad9b29015dc;hb=221c7e9749a57e778ca778f231923f17da2f200d;hpb=d745c208029d06ea2cde00af631690fe6419cc3e diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 8a40131..d5c4461 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -69,6 +69,7 @@ function addCommentLink(postId, element) { } commentElement = (function(postId) { var commentElement = $("
Comment
").addClass("show-reply-form").click(function() { + markPostAsKnown(getPostElement(this)); replyElement = $("#sone .post#" + postId + " .create-reply"); replyElement.removeClass("hidden"); replyElement.removeClass("light");