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:
parent
016958ea5e
commit
a8f14b9ce3
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user