aboutsummaryrefslogtreecommitdiff
path: root/templates/shared/action-menu-single.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shared/action-menu-single.php')
-rw-r--r--templates/shared/action-menu-single.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/shared/action-menu-single.php b/templates/shared/action-menu-single.php
index 9fdd5d3..dbe38c1 100644
--- a/templates/shared/action-menu-single.php
+++ b/templates/shared/action-menu-single.php
@@ -15,7 +15,7 @@
<? if ($action['disabled']): ?>
<label class="undecorated action-menu-item-disabled" aria-disabled="true" <?= arrayToHtmlAttributes($action['attributes'] + ['title' => $action['label']]) ?>>
<? if ($action['icon']): ?>
- <?= $action['icon']->asSvg(['class' => 'action-menu-item-icon']) ?>
+ <?= $action['icon']->asImg(['class' => 'action-menu-item-icon']) ?>
<? else: ?>
<?= htmlReady($action['label']) ?>
<? endif ?>
@@ -23,7 +23,7 @@
<? elseif ($action['type'] === 'link'): ?>
<a href="<?= htmlReady($action['link']) ?>" <?= arrayToHtmlAttributes($action['attributes'] + ['title' => $action['label']]) ?>>
<? if ($action['icon']): ?>
- <?= $action['icon']->asSvg(['class' => 'action-menu-item-icon']) ?>
+ <?= $action['icon']->asImg(['class' => 'action-menu-item-icon']) ?>
<? else: ?>
<?= htmlReady($action['label']) ?>
<? endif ?>