mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-01-06 23:55:45 +00:00
fix today's events link
This commit is contained in:
@ -320,7 +320,7 @@ export class Calendar {
|
||||
calendars.push(` <div class="collapse-title text-xl font-medium">📅 ${translate.todaysEvents.get(this.language)}</div>`);
|
||||
calendars.push(` <div class="collapse-content text-center">`)
|
||||
for (const noc of this.nocs.sort()) {
|
||||
calendars.push(` <a class="${buttonClass}" href="./today.html?noc=NOC">${getNOCFlag(noc)} ${noc}</a>`);
|
||||
calendars.push(` <a class="${buttonClass}" href="./today.html?noc=${noc}">${getNOCFlag(noc)} ${noc}</a>`);
|
||||
}
|
||||
calendars.push(` </div>`);
|
||||
calendars.push(`</div>`);
|
||||
|
||||
Reference in New Issue
Block a user