1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/11956] Fix docblock for dropdown handler

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-23 22:57:16 +03:00
parent 016958ea5e
commit a8f14b9ce3

View File

@ -409,14 +409,6 @@ function insert_single_user(formId, user)
self.close();
}
/**
* Dropdown handler
* Shows/hides dropdown, decides which side to open to
*
* @param [jQuery] toggle Link that toggles dropdown
* @param [jQuery] dropdown Dropdown menu
* @param [Object] [options] List of options
*/
function toggle_dropdown()
{
var $this = $(this),
@ -461,6 +453,14 @@ function toggle_dropdown()
parent.toggleClass(options.visibleClass, !visible).toggleClass('dropdown-visible', !visible);
}
/**
* Dropdown handler
* Shows/hides dropdown, decides which side to open to
*
* @param [jQuery] toggle Link that toggles dropdown
* @param [jQuery] dropdown Dropdown menu
* @param [Object] [options] List of options
*/
function register_dropdown(toggle, dropdown, options)
{
var ops = {