Skip to content

Commit 7cc58bb

Browse files
author
Saif Almansoori
committed
Fix syntax error
1 parent c409e05 commit 7cc58bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_admin/static/admin/js/form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
initSelection: function(element, callback) {
4141
$el = $(element);
42-
var value = JSON.parse(($el.attr('data-json'));
42+
var value = JSON.parse($el.attr('data-json'));
4343
var result = null;
4444

4545
if (value) {
@@ -461,7 +461,7 @@
461461
// prevent minutes from showing in 5 minute increments
462462
minuteStep: 1,
463463
maxYear: 2030,
464-
}
464+
}
465465
});
466466
return true;
467467
case 'x-editable-combodate':

0 commit comments

Comments
 (0)