From 8497bbffbd573c049f1c80a4b37642084c86b5a2 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 31 Aug 2021 14:48:30 +0800 Subject: [PATCH] fix style --- assets/javascripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 27f6085..7d0f6cc 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -8,7 +8,7 @@ // if (location.href.search('editmode') == -1 && document.getElementsByClassName('asideright').length != 0) { if ( $('.header-banner').length != 0) { $('.layout-header').css('height', ''); - if ($(window).scrollTop() > 100) { /* 要滑動到選單的距離 */ + if ($(window).scrollTop() > 50) { /* 要滑動到選單的距離 */ $('.kenjohn').addClass('navFixed').removeClass('navRel'); /* 幫選單加上固定效果 */ } else { if ($('.header-banner').html().trim() == "") {