mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 02:48:56 +00:00
[ticket/11956] Fix docblock for dropdown handler
PHPBB3-11956
This commit is contained in:
parent
016958ea5e
commit
a8f14b9ce3
1 changed files with 8 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue