Mark the correct sone as known.
[Sone.git] / src / main / resources / static / javascript / sone.js
index 0d413b9..056369c 100644 (file)
@@ -666,7 +666,7 @@ function ajaxifySone(soneElement) {
 
        /* mark Sone as known when clicking it. */
        $(soneElement).click(function() {
-               markSoneAsKnown(soneElement);
+               markSoneAsKnown(this);
        });
 }
 
@@ -1335,9 +1335,6 @@ function updatePostTimes(postIds) {
  *            The tooltip to show
  */
 function updateReplyTime(replyId, timeText, refreshTime, tooltip) {
-       if (!getReply(replyId).is(":visible")) {
-               return;
-       }
        getReply(replyId).find(".reply-status-line > .time").html(timeText).attr("title", tooltip);
        (function(replyId, refreshTime) {
                setTimeout(function() {