fix missing existence check

This commit is contained in:
Christoph Schindlbeck 2023-02-03 19:52:38 +01:00
parent a522c02a36
commit 08e2f07877

View File

@ -33,6 +33,8 @@ $(document).ready(function(){
$hour = $('#countdown_dashboard').data('hour');
$minute = $('#countdown_dashboard').data('minute');
$second = $('#countdown_dashboard').data('second');
if ($('#countdown_dashboard').length > 0) {
$('#countdown_dashboard').countDown({
targetDate: {
'day': $day,
@ -44,6 +46,7 @@ $(document).ready(function(){
},
omitWeeks: true
});
}
$(".about-slider").owlCarousel(
{