mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Fix expanding/collapsing README/ChangeLog
This commit is contained in:
parent
ddd8734604
commit
67c43193da
@ -1 +1,13 @@
|
|||||||
hljs.initHighlightingOnLoad();
|
$(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');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user