aboutsummaryrefslogtreecommitdiff
path: root/templates/toc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/toc')
-rw-r--r--templates/toc/_toc-item-list.php2
-rw-r--r--templates/toc/generic-toc-list.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/toc/_toc-item-list.php b/templates/toc/_toc-item-list.php
index 82cad85..3e2ee0d 100644
--- a/templates/toc/_toc-item-list.php
+++ b/templates/toc/_toc-item-list.php
@@ -4,7 +4,7 @@
<a class="navigate" href="<?= htmlReady($item->getURL()) ?>">
<? endif ?>
<? if ($item->getIcon()) : ?>
- <?= $item->getIcon()->copyWithRole(Icon::ROLE_INFO)->asSvg(24) ?>
+ <?= $item->getIcon()->copyWithRole(Icon::ROLE_INFO)->asImg(24) ?>
<? endif ?>
<?= htmlReady($item->getTitle()) ?>
<? if (!$item->isActive()) : ?>
diff --git a/templates/toc/generic-toc-list.php b/templates/toc/generic-toc-list.php
index 0894e5f..475ceaa 100644
--- a/templates/toc/generic-toc-list.php
+++ b/templates/toc/generic-toc-list.php
@@ -3,7 +3,7 @@
<header id="toc_header">
<h1 id="toc_h1"><?= sprintf(_('Inhalt (%u Elemente)'), htmlReady($root->countAllChildren())) ?></h1>
<label for="cb-toc" class="check-box enter-accessible" title="<?= _('Schließen')?>" tabindex="0">
- <?= Icon::create('decline')->asSvg(24) ?>
+ <?= Icon::create('decline')->asImg(24) ?>
</label>
</header>
<section>