close #759 Fixed: Pre-Sale app show page broken.
This commit is contained in:
parent
2455175293
commit
d75d9c6932
@ -233,10 +233,8 @@
|
|||||||
keyboard: true
|
keyboard: true
|
||||||
});
|
});
|
||||||
|
|
||||||
var newDate = new Date({{ $module->pre_sale_date['year'] }}, {{ $module->pre_sale_date['month'] }}, {{ $module->pre_sale_date['day'] }});
|
|
||||||
|
|
||||||
$('#countdown-pre-sale').countdown({
|
$('#countdown-pre-sale').countdown({
|
||||||
until: newDate
|
until: new Date({{ (int) $module->pre_sale_date->year }}, {{ (int) $module->pre_sale_date->month }} - 1, {{ (int) $module->pre_sale_date->day }})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user