2020 update
This commit is contained in:
parent
408a1d875c
commit
1645b6e4c2
|
|
@ -13,14 +13,14 @@ $(document).ready(function() {
|
||||||
populatePieces('secondary');
|
populatePieces('secondary');
|
||||||
populatePublications();
|
populatePublications();
|
||||||
populateReleases();
|
populateReleases();
|
||||||
populatePerformances(2019, 'composer', true);
|
populatePerformances(2020, 'composer', true);
|
||||||
populateTalks(2019, true);
|
populateTalks(2020, true);
|
||||||
populateAbout();
|
populateAbout();
|
||||||
|
|
||||||
populateGallerySelector();
|
populateGallerySelector();
|
||||||
if (window.location.href.split('/').pop().substring(0,3) != "#lg") {
|
if (window.location.href.split('/').pop().substring(0,3) != "#lg") {
|
||||||
window.history.replaceState("object or string", "Title", "/");
|
window.history.replaceState("object or string", "Title", "/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$( window ).resize(function() {
|
$( window ).resize(function() {
|
||||||
|
|
@ -606,7 +606,7 @@ function populatePerformances(year, eventType, loadUpcoming) {
|
||||||
//console.log(upcomingCount);
|
//console.log(upcomingCount);
|
||||||
if (upcomingLoadedCount==2) {
|
if (upcomingLoadedCount==2) {
|
||||||
|
|
||||||
if(upcomingCount == 0 && year == 2019){
|
if(upcomingCount == 0 && year == 2020){
|
||||||
|
|
||||||
$('#upcoming').css('visibility', 'hidden')
|
$('#upcoming').css('visibility', 'hidden')
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue