Edit index.php
@@ -65,7 +65,7 @@ if ($q !== '') {
65
65
<div class="chapterDropdown" id="chapterDropdown" role="menu" aria-label="Chapter list">
66
66
<?php foreach ($chaptersOrdered as $ch):
67
67
$num = $ch->number ?? '';
68
$title = $ch->title ?? '';
68
$title = $ch->name ?? '';
69
69
$id = 'chapter-' . $num;
70
70
?>
71
71
<a href="?ch=<?= $ch->number ?>">
@@ -65,7 +65,7 @@ if ($q !== '') {65
<div class="chapterDropdown" id="chapterDropdown" role="menu" aria-label="Chapter list">65
<div class="chapterDropdown" id="chapterDropdown" role="menu" aria-label="Chapter list">66
<?php foreach ($chaptersOrdered as $ch):66
<?php foreach ($chaptersOrdered as $ch):67
$num = $ch->number ?? '';67
$num = $ch->number ?? '';68
$title = $ch->title ?? '';68
$title = $ch->name ?? '';69
$id = 'chapter-' . $num;69
$id = 'chapter-' . $num;70
?>70
?>71
<a href="?ch=<?= $ch->number ?>">71
<a href="?ch=<?= $ch->number ?>">