From 13871054ecbb38722714d7e0c88c4024103c3f86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 26 May 2011 07:07:10 +0200 Subject: [PATCH] =?utf8?q?Always=20remove=20=E2=80=9Cnew=E2=80=9D=20marker?= =?utf8?q?=20from=20=E2=80=9Cclick-to-show=E2=80=9D=20bar.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/javascript/sone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); } -- 2.7.4