aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-23 22:57:16 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 18:36:17 +0300
commita8f14b9ce365c16292f775c1aa5d08d1afe53978 (patch)
treef3a9446e6d3d211a54a401361a4d7b7fdf48ab60 /phpBB
parent016958ea5e64d291b73beb16db10fdd7e2e7a089 (diff)
downloadforums-a8f14b9ce365c16292f775c1aa5d08d1afe53978.tar
forums-a8f14b9ce365c16292f775c1aa5d08d1afe53978.tar.gz
forums-a8f14b9ce365c16292f775c1aa5d08d1afe53978.tar.bz2
forums-a8f14b9ce365c16292f775c1aa5d08d1afe53978.tar.xz
forums-a8f14b9ce365c16292f775c1aa5d08d1afe53978.zip
[ticket/11956] Fix docblock for dropdown handler
PHPBB3-11956
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index 1169c9f2dc..9895510a1b 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -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 = {