* Edit editor height.

This commit is contained in:
liyuchun
2022-08-26 14:34:26 +08:00
parent 33e0de2cdc
commit 1f6eae4545
@@ -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);
});
});
</script>