fix style

This commit is contained in:
chiu 2021-08-31 14:48:30 +08:00
parent bdc7ac3faf
commit 8497bbffbd
1 changed files with 1 additions and 1 deletions

View File

@ -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() == "") {