diff --git a/assets/scripts/scroll-effect.js b/assets/scripts/scroll-effect.js index 42a4af8..3899449 100644 --- a/assets/scripts/scroll-effect.js +++ b/assets/scripts/scroll-effect.js @@ -1,4 +1,4 @@ -$(window).scroll(function (e) { +$(window).on("scroll", function (e) { oVal = $(window).scrollTop() / 170; $(".blur").css("opacity", oVal); });