fix: invalid css selector for download links (#694)

This commit is contained in:
Bryan Galdámez 2025-06-21 13:07:41 -06:00 committed by GitHub
parent 7ed69308ba
commit 21e47afe4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,8 @@
} }
// Replace all download links with twilight versions // Replace all download links with twilight versions
const downloadLinks = document.querySelectorAll('a.download-link') const downloadLinks = document.querySelectorAll('a.download-button')
for (const link of downloadLinks) { for (const link of downloadLinks) {
if (!link.id.includes('beta')) { if (!link.id.includes('beta')) {
const href = link.getAttribute('href') const href = link.getAttribute('href')