From e20e7a05dc3da87df8b1054f7141536b49b32d9a Mon Sep 17 00:00:00 2001 From: KennHuang Date: Wed, 24 Jul 2019 16:41:16 +0800 Subject: [PATCH] fix #17 --- templates/timeLogs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/timeLogs.html b/templates/timeLogs.html index ae6e305..8ef4e0b 100644 --- a/templates/timeLogs.html +++ b/templates/timeLogs.html @@ -112,7 +112,7 @@ {{end}} var seasonIds = []; - TimeLogsTable.on('draw', () => { + TimeLogsTable.on('init', () => { for (let i = 0; i < TimeLogsTable.rows().data().length; i++) { let data = TimeLogsTable.rows().data()[i]; if ($.inArray(data["SeasonId"], seasonIds) === -1) {