Mark all replies of a post as known when marking a post as known.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Nov 2010 14:02:50 +0000 (15:02 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Nov 2010 14:02:50 +0000 (15:02 +0100)
src/main/resources/static/javascript/sone.js

index 619b62e..0e33c85 100644 (file)
@@ -658,6 +658,7 @@ function markPostAsKnown(postElements) {
                        $(postElement).removeClass("new");
                });
        });
+       markReplyAsKnown($(postElements).find(".reply"));
 }
 
 function markReplyAsKnown(replyElements) {