mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Optimized chart code.
This commit is contained in:
@@ -18,7 +18,8 @@ $(function () {
|
||||
);
|
||||
|
||||
// set values from cookies, if any:
|
||||
if (readCookie('report-type') !== null) {
|
||||
if (!(readCookie('report-type') === null)) {
|
||||
console.log(readCookie('report-type'));
|
||||
$('select[name="report_type"]').val(readCookie('report-type'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user