review/static/ui.js @ 11a7e1d494d2
initial-docs
Merge with default.
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 05 Jul 2010 22:55:50 -0400 |
parents |
0d78b56ae9aa |
children |
5668dd3e0a95 |
$(function() {
$("a.fold").toggle(function(event) {
$(event.target).closest(".file").find(".file-review-contents").slideDown("fast", function() {
$(event.target).closest("h3").find(".status").html("↓");
});
return false;
},
function(event) {
$(event.target).closest(".file")
.find(".file-review-contents")
.slideUp("fast", function () {
$(event.target).closest("h3").find(".status").html("→");
});
return false;
});
$(".submit").live('click', function() {
$(this).closest("form").submit();
});
});