Skip to content

Commit

Permalink
Fix issue with Separator menu #534
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Jan 17, 2024
1 parent 884490e commit c13db8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/frontend/header/menu/link.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$slidemenu = @$slidemenu;
$slidemenu = ($slidemenu == 1 ? true : false);

if ($item->type == "heading") {
if ($item->type == "heading" || $item->type == 'separator') {
$item->flink = 'javascript:void(0);';
}

Expand Down

0 comments on commit c13db8c

Please sign in to comment.