diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-08 14:07:58 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-08 14:07:58 -0500 |
commit | 855de1b33e1ba1753ac1a5088e640e5fcff09f79 (patch) | |
tree | 98295ac7c8b09f623a3f3766eedc073762ecac45 /mod | |
parent | e3d38a9e9905ea19b48f5413d5c5b371f1bd7316 (diff) | |
download | elgg-855de1b33e1ba1753ac1a5088e640e5fcff09f79.tar.gz elgg-855de1b33e1ba1753ac1a5088e640e5fcff09f79.tar.bz2 |
Fixes #4192 making the bottom of widget columns equal rather than height
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profile/views/default/profile/js.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/js.php b/mod/profile/views/default/profile/js.php index 16dec59df..5a08a90bd 100644 --- a/mod/profile/views/default/profile/js.php +++ b/mod/profile/views/default/profile/js.php @@ -1,6 +1,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); } -});
\ No newline at end of file +}, 400); |