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
This commit is contained in:
parent
99eb5342cf
commit
601d417e6b
@ -56,6 +56,9 @@ elseif (preg_match('/report/', $script_name)) {
|
|||||||
if (id && typeof id == 'string') {
|
if (id && typeof id == 'string') {
|
||||||
$('#' + id).show();
|
$('#' + id).show();
|
||||||
}
|
}
|
||||||
|
var ele = $('#' + id).parent().children('dt');
|
||||||
|
$('#' + id).css('left', ele.position().left + ele.width());
|
||||||
|
$('#' + id).css('top', ele.position().top + ele.height());
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user