mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Fix JS error.
This commit is contained in:
@@ -5,6 +5,8 @@ $(function () {
|
|||||||
"use strict";
|
"use strict";
|
||||||
drawChart();
|
drawChart();
|
||||||
|
|
||||||
|
if ($('#inputDateRange').length > 0) {
|
||||||
|
|
||||||
picker = $('#inputDateRange').daterangepicker(
|
picker = $('#inputDateRange').daterangepicker(
|
||||||
{
|
{
|
||||||
locale: {
|
locale: {
|
||||||
@@ -15,6 +17,7 @@ $(function () {
|
|||||||
drops: 'up',
|
drops: 'up',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
// set values from cookies, if any:
|
// set values from cookies, if any:
|
||||||
if (readCookie('report-type') !== null) {
|
if (readCookie('report-type') !== null) {
|
||||||
|
Reference in New Issue
Block a user