mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 03:10:57 +00:00
Make sure all date fields have a fallback.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
/** global: jobKey */
|
||||
/** global: jobKey, Modernizr */
|
||||
|
||||
var intervalId = 0;
|
||||
|
||||
@@ -21,6 +21,14 @@ $(function () {
|
||||
// - return false,
|
||||
|
||||
$('#export').submit(startExport);
|
||||
|
||||
if (!Modernizr.inputtypes.date) {
|
||||
$('input[type="date"]').datepicker(
|
||||
{
|
||||
dateFormat: 'yy-mm-dd'
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user