diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/lib/ui.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js index 692311d73..89a996122 100644 --- a/js/lib/ui.js +++ b/js/lib/ui.js @@ -228,25 +228,6 @@ elgg.ui.requiresConfirmation = function(e) { }; /** - * Repositions the likes popup - * - * @param {String} hook 'getOptions' - * @param {String} type 'ui.popup' - * @param {Object} params An array of info about the target and source. - * @param {Object} options Options to pass to - * - * @return {Object} - */ -elgg.ui.likesPopupHandler = function(hook, type, params, options) { - if (params.target.hasClass('elgg-likes-list')) { - options.my = 'right bottom'; - options.at = 'left top'; - return options; - } - return null; -}; - -/** * Repositions the login popup * * @param {String} hook 'getOptions' @@ -266,5 +247,4 @@ elgg.ui.LoginHandler = function(hook, type, params, options) { }; elgg.register_hook_handler('init', 'system', elgg.ui.init); -elgg.register_hook_handler('getOptions', 'ui.popup', elgg.ui.likesPopupHandler); elgg.register_hook_handler('getOptions', 'ui.popup', elgg.ui.LoginHandler);
\ No newline at end of file |