From ca49a6a31514cdcd6288c90b740e349759990001 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 7 Nov 2024 08:28:49 -0600 Subject: [PATCH] refactor: Remove deprecated scroll handler --- assets/scripts/scroll-effect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });