diff --git a/src/main/webapp/js/default.js b/src/main/webapp/js/default.js index b40794f2..a99060e8 100644 --- a/src/main/webapp/js/default.js +++ b/src/main/webapp/js/default.js @@ -113,7 +113,7 @@ $(document).ready(function(){ // $scrollCartBtn 관련 스크립트 추가 $window.on("scroll", function () { - if ($window.scrollTop() < $document.height() - $window.height() - $footer.outerHeight() + 37) { + if ($window.scrollTop() < $document.height() - $window.height() - $footer.outerHeight() + 100) { $scrollBtn.addClass("go-top-fix"); $scrollCartBtn.addClass("go-cart-fix"); } else { @@ -121,7 +121,7 @@ $(document).ready(function(){ $scrollCartBtn.removeClass("go-cart-fix"); } - if ($window.scrollTop() < $window.height() / 3) { + if ($window.scrollTop() < $window.height() / 100) { $scrollBtn.addClass("go-top-hide"); $scrollCartBtn.addClass("go-cart-hide"); } else {