X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=e07a08b982ebd4e30b0b396a72dc9eeaaa085319;hp=fbed2170912a02f2fc144505385d7f00355b2d48;hb=13871054ecbb38722714d7e0c88c4024103c3f86;hpb=7a3294ce60f63bb871e0196155bcc3cd84bcbfe2 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index fbed217..e07a08b 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1302,12 +1302,12 @@ function markPostAsKnown(postElements, skipRequest) { if ($(postElement).hasClass("new")) { (function(postElement) { $(postElement).removeClass("new"); - $(".click-to-show", postElement).removeClass("new"); if ((typeof skipRequest == "undefined") || !skipRequest) { ajaxGet("markAsKnown.ajax", {"formPassword": getFormPassword(), "type": "post", "id": getPostId(postElement)}); } })(postElement); } + $(".click-to-show", postElement).removeClass("new"); }); markReplyAsKnown($(postElements).find(".reply")); }