review/static/scripts/ui.js @ d483f003d230
Change the mercurial minimum version
the obsstore api was added in mercurial 2.3.
I did _not_ tested with this version though, so we may have to
change it if issues are encountered.
author |
Christophe de Vienne <cdevienne@gmail.com> |
date |
Fri, 21 Nov 2014 17:04:06 +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();
});
});