From 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Mar 2022 18:29:21 +0100 Subject: Split demo in :target views --- tpl/objects/menu.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/objects/menu.pug') diff --git a/tpl/objects/menu.pug b/tpl/objects/menu.pug index 84321d7..c6e8223 100644 --- a/tpl/objects/menu.pug +++ b/tpl/objects/menu.pug @@ -18,7 +18,7 @@ mixin menu-item 'is-selected': attributes.selected, } - button(class=classes, disabled=attributes.disabled) + #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) .l-card.l-card--flush.l-card--75 if attributes.icon .l-card__block.o-menu__icon-slot -- cgit v1.2.3-70-g09d2