review/static/scripts/ui.js @ 0dc141617716
Display obsolete comments/signoff with lower opacity. Add a obsolete class on comments and signoff messages, which sets the opacity to 0.6
| author | Christophe de Vienne <cdevienne@gmail.com> |
|---|---|
| date | Tue, 28 Oct 2014 00:28:05 +0100 |
| parents | 3fe8d9b6705b |
| children | (none) |
$(function() { $("a.fold").toggle(function(event) { $(event.target).closest(".file").find(".file-review-contents").slideUp("fast", function () { $(event.target).closest("h3").find(".status").html("→"); }); return false; }, function(event) { $(event.target).closest(".file").find(".file-review-contents").slideDown("fast", function() { $(event.target).closest("h3").find(".status").html("↓"); }); return false; }); $(".submit").live('click', function() { $(this).closest("form").submit(); }); });