Skip to content

Commit

Permalink
Update navbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MITSUHIRO-KURIKI authored Jul 7, 2024
1 parent befd066 commit 92d5b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/templates/common/func/navbar/navbar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var navber_transition = 300,
startPos = 0,
navber_height_rem = 3,
navber_height_rem = getComputedStyle(document.documentElement).getPropertyValue('--navber-height').replace('rem', ''),
in_page_anker_transition_speed = 0;

// rem → px 変換
Expand Down Expand Up @@ -101,4 +101,4 @@ $(function() {
$(document).on('scroll', function() {
NavberHide(),
CloseToggleNav();
});
});

0 comments on commit 92d5b11

Please sign in to comment.