stackage-server/templates/package.julius
Chris Done 7ad48a91dd Make markdown areas collapse if larger than 300px
@snoyberg Not sure what the ideal height will be but this does what I
had in mind for the collapsing.
2014-11-03 19:23:20 +01:00

12 lines
262 B
Plaintext

$(function(){
$('.expanding').each(function(){
var $this = $(this);
if ($this.height() > 300) {
$this.addClass('collapsed');
$this.find('.bottom-gradient').click(function(){
$this.removeClass('collapsed');
});
}
});
});