aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-29 01:24:16 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-29 01:24:16 +0000
commit9570200e3d26bf083923bfa7f7ca3ffb5072e193 (patch)
tree312ff65ba633aa35500e855276ed586ff3e2913d /js/lib
parente697c4de72672c43d49bfbcea7b4f8bc17ffc5fd (diff)
downloadelgg-9570200e3d26bf083923bfa7f7ca3ffb5072e193.tar.gz
elgg-9570200e3d26bf083923bfa7f7ca3ffb5072e193.tar.bz2
Fixes #3234: Adding explicit collision param for popups.
git-svn-id: http://code.elgg.org/elgg/trunk@8875 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.js3
1 files changed, 2 insertions, 1 deletions
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);