From acaa2af9b9fc4f86dfc1416e60118ae9f5d0f189 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Thu, 26 Aug 2021 10:21:01 +0800 Subject: [PATCH] * fix task id in tutorial page. --- module/tutorial/js/index.js | 1 - module/tutorial/view/index.html.php | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/module/tutorial/js/index.js b/module/tutorial/js/index.js index 55822cf405..831569209d 100644 --- a/module/tutorial/js/index.js +++ b/module/tutorial/js/index.js @@ -458,7 +458,6 @@ $(function() var name = $li.data('name'); var task = tasks[name]; var finish = !!setting[name]; - task.id = idx + 1; task.finish = finish; finishCount += finish ? 1 : 0; totalCount++; diff --git a/module/tutorial/view/index.html.php b/module/tutorial/view/index.html.php index 0e15b3d4b7..6f499b21c1 100644 --- a/module/tutorial/view/index.html.php +++ b/module/tutorial/view/index.html.php @@ -69,18 +69,18 @@