Skip to content

Commit

Permalink
Improve Semantic of HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Jul 26, 2024
1 parent a8ba7d7 commit f009337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/library/astroid/Component/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function getMenu($menutype = '', $nav_class = [], $logo = null, $l

$return = [];
// Menu Wrapper
echo '<div class="' . (!empty($nav_wrapper_class) ? ' ' . implode(' ', $nav_wrapper_class) : '') . '">'
echo '<nav class="' . (!empty($nav_wrapper_class) ? ' ' . implode(' ', $nav_wrapper_class) : '') . '">'
. '<ul class="' . implode(' ', $nav_class) . '">';


Expand Down Expand Up @@ -152,7 +152,7 @@ public static function getMenu($menutype = '', $nav_class = [], $logo = null, $l
}

echo '</ul>'
. '</div>';
. '</nav>';
}

// Joomla Functions
Expand Down

0 comments on commit f009337

Please sign in to comment.