Troy.moench (Talk | contribs) |
Troy.moench (Talk | contribs) |
||
Line 104: | Line 104: | ||
$('.tile').mouseleave(function() { | $('.tile').mouseleave(function() { | ||
var element = $(this).children('h2'); | var element = $(this).children('h2'); | ||
− | element.animate({"borderRadius":"0 0 5px 5px","height":" | + | element.animate({"borderRadius":"0 0 5px 5px","height":h2height}); |
+ | element.css("border-radius", "0 0 5px 5px"); | ||
}) | }) | ||
Revision as of 07:53, 29 October 2017