blob: 5a08a90bd13a11750cc4fcbbebf13bed0538fde2 (
plain)
1
2
3
4
5
6
7
8
9
|
// force the first column to at least be as large as the profile box in cols 2 and 3
// we also want to run before the widget init happens so priority is < 500
elgg.register_hook_handler('init', 'system', function() {
// only do this on the profile page's widget canvas.
if ($('.profile').length) {
$('#elgg-widget-col-1').css('min-height', $('.profile').outerHeight(true) + 1);
}
}, 400);
|