tweaking date and upcoming

legacy_v1
mwinter 3 years ago
parent dbb784f12b
commit 59c7d46796

@ -13,8 +13,8 @@ $(document).ready(function() {
populatePieces('secondary'); populatePieces('secondary');
populatePublications(); populatePublications();
populateReleases(); populateReleases();
populatePerformances(2021, 'composer', true); populatePerformances(2022, 'composer', true);
populateTalks(2021, true); populateTalks(2022, true);
populateAbout(); populateAbout();
populateGallerySelector(); populateGallerySelector();
@ -634,7 +634,7 @@ function populatePerformances(year, eventType, loadUpcoming) {
//console.log(upcomingCount); //console.log(upcomingCount);
if (upcomingLoadedCount==2) { if (upcomingLoadedCount==2) {
if(upcomingCount == 0 && year == 2021){ if(upcomingCount == 0 && year == 2022){
$('#upcoming').css('visibility', 'hidden') $('#upcoming').css('visibility', 'hidden')
} else { } else {

Loading…
Cancel
Save