From: David ‘Bombe’ Roden Date: Mon, 6 Dec 2010 20:10:11 +0000 (+0100) Subject: Mark the correct element as known. X-Git-Tag: 0.3.2~8 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cb4a9b2d8e858faa618ffa9d6a032d1ac5f23d8d;p=Sone.git Mark the correct element as known. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index a042196..b3b8fdc 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -534,7 +534,7 @@ function ajaxifyReply(replyElement) { /* mark post and all replies as known on click. */ $(replyElement).click(function() { - markPostAsKnown(getPostElement(replyElement)); + markPostAsKnown(getPostElement(this)); }); }