Modified menu_calculate_top to works well with fixed menu option
This commit is contained in:
parent
2b74fbe57e
commit
d7fbc62eca
|
@ -746,7 +746,7 @@ function menu_calculate_top($level1, $level2, $level3 = false) {
|
|||
|
||||
}
|
||||
// Positionate in the middle
|
||||
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 2))) {
|
||||
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 4))) {
|
||||
return - ( floor($comp/2) * 35);
|
||||
}
|
||||
// Positionate in the bottom
|
||||
|
|
Loading…
Reference in New Issue