Clean up code.

This commit is contained in:
James Cole
2020-10-24 07:40:56 +02:00
parent 048e5eeb31
commit ab4bcd3703
20 changed files with 126 additions and 245 deletions

View File

@@ -51,7 +51,7 @@ $(function () {
);
// set report type from cookie, if any:
if (!(readCookie('report-type') === null)) {
if (null !== readCookie('report-type')) {
$('select[name="report_type"]').val(readCookie('report-type'));
}