mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
14 lines
296 B
Plaintext
14 lines
296 B
Plaintext
$(function(){
|
|
hljs.initHighlightingOnLoad();
|
|
|
|
$('.expanding').each(function(){
|
|
var $this = $(this);
|
|
if ($this.height() > 300) {
|
|
$this.addClass('collapsed');
|
|
$this.find('.bottom-gradient').click(function(){
|
|
$this.removeClass('collapsed');
|
|
});
|
|
}
|
|
});
|
|
});
|