Optimized chart code.

This commit is contained in:
James Cole
2016-11-16 20:35:25 +01:00
parent cb02e0ee71
commit 4ef324cf24
20 changed files with 191 additions and 405 deletions

View File

@@ -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'));
}