From: David ‘Bombe’ Roden Date: Fri, 14 Jan 2011 13:55:26 +0000 (+0100) Subject: Mark click area as known when the post is marked as known. Fixes #52. X-Git-Tag: 0.4^2~11 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=4d7d7243d43d87610ded92c3026bf71a4e4dd138 Mark click area as known when the post is marked as known. Fixes #52. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 3c229e0..c11c436 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -793,6 +793,7 @@ function markPostAsKnown(postElements) { (function(postElement) { $.getJSON("markPostAsKnown.ajax", {"formPassword": getFormPassword(), "post": getPostId(postElement)}, function(data, textStatus) { $(postElement).removeClass("new"); + $(".click-to-show", postElement).removeClass("new"); }); })(postElement); }