Permalink
Browse files

finally hide inactive hearts forgotten file

  • Loading branch information...
1 parent be95663 commit 9cc54d36d4121bf224c71d4fb0022af194b6debe @bobrik committed Aug 14, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 public/index.html
View
@@ -326,8 +326,15 @@ <h3>Settings<i class="icon-ban-circle" id="health-icon"></i></h3>
rebuildCurrentLink();
- activeLogHeart.hide();
+
activeLogHeart = logsListContainer.find("li.log.active .heart");
+ logsList.each(function(index, node) {
+ var element = jQuery(node);
+
+ if (!element.hasClass("active")) {
+ element.children(".heart").hide();
+ }
+ });
setTimeout(function() {
logHighlighting = false;
}, 1000);

0 comments on commit 9cc54d3

Please sign in to comment.