mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Remove duplicated } (#302)
This commit is contained in:
parent
678916bcc2
commit
a188c65281
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
field.prop('checked', this.dataset.default === 'true');
|
||||
} else if (fieldType === 'date') {
|
||||
var defaultDate = new Date(this.dataset.default * 1000);
|
||||
$('#' + this.dataset.fieldId).val(defaultDate.strftime(get_format('DATE_INPUT_FORMATS')[0]));}
|
||||
$('#' + this.dataset.fieldId).val(defaultDate.strftime(get_format('DATE_INPUT_FORMATS')[0]));
|
||||
} else if (fieldType === 'datetime') {
|
||||
var defaultDate = new Date(this.dataset.default * 1000);
|
||||
$('#' + this.dataset.fieldId + '_0').val(defaultDate.strftime(get_format('DATE_INPUT_FORMATS')[0]));
|
||||
|
|
|
|||
Loading…
Reference in a new issue