From 9570200e3d26bf083923bfa7f7ca3ffb5072e193 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 29 Mar 2011 01:24:16 +0000 Subject: Fixes #3234: Adding explicit collision param for popups. git-svn-id: http://code.elgg.org/elgg/trunk@8875 36083f99-b078-4883-b0ff-0f9b5a30f544 --- js/lib/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/lib/ui.js b/js/lib/ui.js index ecf4cc763..3a69e4bfc 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -76,7 +76,8 @@ elgg.ui.popsUp = function(event) { var options = { my: 'center top', at: 'center bottom', - of: $(this) + of: $(this), + collision: 'fit fit' } options = elgg.trigger_hook('getOptions', 'ui.popup', params, options); -- cgit v1.2.3