Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kicamon committed Sep 27, 2024
1 parent a2afc9a commit a231243
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<div class="page">
<div class="time">
<div class="title">
这是我们一起走过的
这是我们一起走过的
</div>
<div id="time"></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion scripts/nav.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let $nav = $(".nav");

let Nav = function () {
let Nav = function() {
$nav.append(`
<div class="title">
我们的爱
Expand Down
2 changes: 1 addition & 1 deletion scripts/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a231243

Please sign in to comment.