' +
'
' +
'
' + data.records[i].fields.VenueAndCity + '
' +
'
' + data.records[i].fields.EventName + '
' +
'
' + data.records[i].fields.Description + '
' +
'
' +
'
' +
'
' + CTA_link + '
' +
'
' +
'
' +
'
';
}
}
});
}
function fixHeight(elem) {
var maxHeight = 0;
$(elem).css('height', 'auto');
$(elem).each(function () {
if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});
$(elem).height(maxHeight);
}
$(window).resize(function () {
fixHeight('.desc_bot');
});
$(document).ready(function (e) {
fixHeight('.desc_bot');
});
const country = "FR";
fillEvents(country)