Auto meta-data height.

This commit is contained in:
Jason A. Donenfeld 2011-05-08 01:22:14 -04:00
parent 5a4c6c5422
commit 206c7305b3

View File

@ -307,7 +307,8 @@ $(document).ready(function() {
.css("padding-top", 0)
.css("padding-bottom", 0)
.show()
.animate({ height: 16.3 * 11, paddingTop: 3, paddingBottom: 3 }, "slow", function() {
.animate({ height: $("#metadata > table").height(), paddingTop: 3, paddingBottom: 3 }, "slow", function() {
$(this).css("height", "auto");
$("#metadata-link").text($("#metadata-link").text().replace("show", "hide"));
});
else