Skip to content

Commit 8839c13

Browse files
committed
Fix link
1 parent a584914 commit 8839c13

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pages/phoenix/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Last updated: May 1, 2025
3737
<nav aria-label="Live map">
3838
<ul class="live pagination-lg justify-content-center">
3939
<li class="page-item active" aria-current="page">
40-
<a class="page-link" href="#"></a>
40+
<a class="live-button page-link" href="#"></a>
4141
</li>
4242
</ul>
4343
</nav>

templates/phoenix/partials/head.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,13 @@
9292

9393
document.addEventListener('DOMContentLoaded', () => {
9494
const pagination = document.querySelector('.pagination');
95-
const live = pagination.querySelector('.live');
96-
const liveLink = live.querySelector('li a');
95+
const live = pagination.querySelector('.live-button');
9796
const prevLink = pagination.querySelector('li:first-child a');
9897
const nextLink = pagination.querySelector('li:last-child a');
9998

10099
prevLink.addEventListener('click', navigateToPreviousMonth);
101100
nextLink.addEventListener('click', navigateToNextMonth);
102-
liveLink.addEventListener('click', (event) => {
101+
live.addEventListener('click', (event) => {
103102
const iframe = document.querySelector('iframe');
104103
iframe.src = 'https://app.quant-aq.com/s/phoenix';
105104
});

0 commit comments

Comments
 (0)