Touch up current activity status bar hover effect

This commit is contained in:
Jonathan Wong 2015-12-17 23:26:26 -08:00
commit 0620ebebcf
2 changed files with 29 additions and 17 deletions

View file

@ -280,6 +280,13 @@ DOCUMENTATION :: END
e.preventDefault();
$($(this).attr('data-target')).toggle();
});
// Add hover class to dashboard-instance
$('.dashboard-activity-poster').hover(function() {
$(this).closest('.dashboard-instance').addClass('hover');
}, function() {
$(this).closest('.dashboard-instance').removeClass('hover');
});
</script>
% else:
<div class="text-muted">Nothing is currently being watched.</div><br>