Remove useless redirect and do it right the first time
This commit is contained in:
@@ -56,7 +56,7 @@ async function main() {
|
||||
card.querySelector('.event-time .event-time-seperator').style.display = 'inline';
|
||||
}
|
||||
|
||||
card.querySelector('a.event-link').setAttribute('href', event.id);
|
||||
card.querySelector('a.event-link').setAttribute('href', `single.html?event=${event.id}`);
|
||||
|
||||
currentContainer.querySelector('.grid').append(card);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user