From a8f14b9ce365c16292f775c1aa5d08d1afe53978 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Wed, 23 Oct 2013 22:57:16 +0300 Subject: [PATCH] [ticket/11956] Fix docblock for dropdown handler PHPBB3-11956 --- phpBB/styles/prosilver/template/forum_fn.js | 16 ++++++++-------- 1 file 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 = {