mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 11:11:25 +00:00
Allow date picker for browsers that do not support it natively. See issue #535
This commit is contained in:
@@ -20,6 +20,14 @@ $(document).ready(function () {
|
||||
updateDescription();
|
||||
}
|
||||
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
dateFormat: 'yy-mm-dd'
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// get JSON things:
|
||||
getJSONautocomplete();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user