0
diff --git a/public/js/main.js b/public/js/main.js
index e5dd8b2..c575071 100644
--- a/public/js/main.js
+++ b/public/js/main.js
@@ -30,14 +30,17 @@ $(document).ready(function(){
$year = $('#countdown_dashboard').data('year');
$month = $('#countdown_dashboard').data('month');
$day = $('#countdown_dashboard').data('day');
+ $hour = $('#countdown_dashboard').data('hour');
+ $minute = $('#countdown_dashboard').data('minute');
+ $second = $('#countdown_dashboard').data('second');
$('#countdown_dashboard').countDown({
targetDate: {
'day': $day,
'month': $month,
'year': $year,
- 'hour': 23,
- 'min': 59,
- 'sec': 59,
+ 'hour': $hour,
+ 'min': $minute,
+ 'sec': $second,
},
omitWeeks: true
});
diff --git a/themes/infinity-hugo/layouts/partials/hero-area.html b/themes/infinity-hugo/layouts/partials/hero-area.html
index 36bc469..f8c0648 100644
--- a/themes/infinity-hugo/layouts/partials/hero-area.html
+++ b/themes/infinity-hugo/layouts/partials/hero-area.html
@@ -29,7 +29,7 @@
-
+
-
0
diff --git a/themes/infinity-hugo/static/js/main.js b/themes/infinity-hugo/static/js/main.js
index e5dd8b2..c575071 100644
--- a/themes/infinity-hugo/static/js/main.js
+++ b/themes/infinity-hugo/static/js/main.js
@@ -30,14 +30,17 @@ $(document).ready(function(){
$year = $('#countdown_dashboard').data('year');
$month = $('#countdown_dashboard').data('month');
$day = $('#countdown_dashboard').data('day');
+ $hour = $('#countdown_dashboard').data('hour');
+ $minute = $('#countdown_dashboard').data('minute');
+ $second = $('#countdown_dashboard').data('second');
$('#countdown_dashboard').countDown({
targetDate: {
'day': $day,
'month': $month,
'year': $year,
- 'hour': 23,
- 'min': 59,
- 'sec': 59,
+ 'hour': $hour,
+ 'min': $minute,
+ 'sec': $second,
},
omitWeeks: true
});