Display datepicker when click in field
This commit is contained in:
parent
67d0516161
commit
4392dde5dc
@ -47,7 +47,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).on('click', '.input-group.date .input-group-addon', function () {
|
$(document).on('click', '.input-group.date .input-group-addon, .input-group.date input', function () {
|
||||||
// Re-init datepicker config before displaying
|
// Re-init datepicker config before displaying
|
||||||
init_datepicker();
|
init_datepicker();
|
||||||
$(this).parent().datepicker('show');
|
$(this).parent().datepicker('show');
|
||||||
|
Loading…
Reference in New Issue
Block a user