Skip to content

Commit

Permalink
Replace "else if" by "elseif"
Browse files Browse the repository at this point in the history
  • Loading branch information
Klemart3D authored Mar 1, 2024
1 parent 32fe798 commit 8078593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ps_mainmenu/ps_mainmenu.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{if $nodes|count}
<ul
{if $depth === 0}id="top-menu"{/if}
class="{if $depth === 0}main-menu__tree h-100{else if $depth === 1}row row-cols-4 gy-3{else}submenu{/if}"
class="{if $depth === 0}main-menu__tree h-100{elseif $depth === 1}row row-cols-4 gy-3{else}submenu{/if}"
data-depth="{$depth}"
>
{foreach from=$nodes item=node}
Expand Down

0 comments on commit 8078593

Please sign in to comment.