From a231243970458d916a109779d22d001504ea98d9 Mon Sep 17 00:00:00 2001 From: Kicamon Date: Sat, 28 Sep 2024 04:19:45 +0800 Subject: [PATCH] update --- index.html | 2 +- scripts/nav.js | 2 +- scripts/timeline.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index fc97226..39976a7 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@
- 这是我们一起走过的 + 这是我们一起走过的
diff --git a/scripts/nav.js b/scripts/nav.js index 511fe22..6f1f86c 100644 --- a/scripts/nav.js +++ b/scripts/nav.js @@ -1,6 +1,6 @@ let $nav = $(".nav"); -let Nav = function () { +let Nav = function() { $nav.append(`
我们的爱 diff --git a/scripts/timeline.js b/scripts/timeline.js index 34a93a5..f1d049b 100644 --- a/scripts/timeline.js +++ b/scripts/timeline.js @@ -25,7 +25,7 @@ selectors.item.each(function(i) { min = $(this).offset().top; max = $(this).height() + $(this).offset().top; - let that = $(this); + //let that = $(this); if (i == itemLength - 2 && pos > min + $(this).height() / 2) { selectors.item.removeClass(selectors.activeClass); selectors.id.css(