Mark the correct element as known.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 6 Dec 2010 20:10:11 +0000 (21:10 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 6 Dec 2010 20:10:11 +0000 (21:10 +0100)
src/main/resources/static/javascript/sone.js

index a042196..b3b8fdc 100644 (file)
@@ -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));
        });
 }