fix missing existence check
This commit is contained in:
parent
a522c02a36
commit
08e2f07877
@ -33,6 +33,8 @@ $(document).ready(function(){
|
|||||||
$hour = $('#countdown_dashboard').data('hour');
|
$hour = $('#countdown_dashboard').data('hour');
|
||||||
$minute = $('#countdown_dashboard').data('minute');
|
$minute = $('#countdown_dashboard').data('minute');
|
||||||
$second = $('#countdown_dashboard').data('second');
|
$second = $('#countdown_dashboard').data('second');
|
||||||
|
|
||||||
|
if ($('#countdown_dashboard').length > 0) {
|
||||||
$('#countdown_dashboard').countDown({
|
$('#countdown_dashboard').countDown({
|
||||||
targetDate: {
|
targetDate: {
|
||||||
'day': $day,
|
'day': $day,
|
||||||
@ -44,6 +46,7 @@ $(document).ready(function(){
|
|||||||
},
|
},
|
||||||
omitWeeks: true
|
omitWeeks: true
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$(".about-slider").owlCarousel(
|
$(".about-slider").owlCarousel(
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user