diff --git a/module/repo/view/ajaxgeteditorcontent.html.php b/module/repo/view/ajaxgeteditorcontent.html.php index 29e2a4cff6..08ab73da25 100644 --- a/module/repo/view/ajaxgeteditorcontent.html.php +++ b/module/repo/view/ajaxgeteditorcontent.html.php @@ -201,6 +201,11 @@ $(function() { var link = $(this).data('link'); parent.loadLinkPage(link); - }) + }); + + $('#relationTabs').on('onOpen', function(event, tab) { + var relatedHeight = codeHeight / 5 * 2 - $('#log').height() - 45; + $('#relationTabs iframe').css('height', relatedHeight); + }); });