From 601d417e6b71f11530e7aabab1244d8f20bd7cf0 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Mon, 14 Jan 2019 17:41:37 -0500 Subject: [PATCH] fix(vertical menu): fix display of vertical menu Fixed bug with vertical popup menu for categories not displaying properly with large category sets. Fix #69 --- inc/menu.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/menu.inc b/inc/menu.inc index 808d3d4..f9ea65c 100644 --- a/inc/menu.inc +++ b/inc/menu.inc @@ -56,6 +56,9 @@ elseif (preg_match('/report/', $script_name)) { if (id && typeof id == 'string') { $('#' + id).show(); } + var ele = $('#' + id).parent().children('dt'); + $('#' + id).css('left', ele.position().left + ele.width()); + $('#' + id).css('top', ele.position().top + ele.height()); }