aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);