review/static/scripts/ui.js @ b0bcc35b016a
web: display branch name on index if other than 'default'
author |
Kevin Berridge <kberridge@pointeblank.net> |
date |
Tue, 04 Sep 2012 13:03:55 -0400 |
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();
});
});