From 7afcdbb8f7a9b2d006e921aa16e5a32c7e421ca4 Mon Sep 17 00:00:00 2001 From: Saumil Dhankar Date: Sun, 17 Jul 2022 22:44:14 -0700 Subject: [PATCH 1/2] c999 --- assets/js/about.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/about.js b/assets/js/about.js index 4eb7548247..5b0255a68c 100644 --- a/assets/js/about.js +++ b/assets/js/about.js @@ -1,4 +1,5 @@ // Constant setups for reuse throughout document +// c999 const ANCHOR_LINKS_ID = [...document.querySelectorAll(".anchor")].map((anchor) => anchor.id); const NAVIGATION_LINK_ELEMENTS = document.querySelectorAll(".sticky-nav a"); const VIEWPORT_HEIGHT = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0); @@ -184,4 +185,4 @@ window.addEventListener( } -) \ No newline at end of file +) From c0eb0fac362a3aed870d2a732496b49c425403d3 Mon Sep 17 00:00:00 2001 From: Saumil Dhankar Date: Sun, 17 Jul 2022 22:46:10 -0700 Subject: [PATCH 2/2] Update about.js --- assets/js/about.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/about.js b/assets/js/about.js index 5b0255a68c..d494c5d68c 100644 --- a/assets/js/about.js +++ b/assets/js/about.js @@ -1,5 +1,5 @@ // Constant setups for reuse throughout document -// c999 +// c999 c998 const ANCHOR_LINKS_ID = [...document.querySelectorAll(".anchor")].map((anchor) => anchor.id); const NAVIGATION_LINK_ELEMENTS = document.querySelectorAll(".sticky-nav a"); const VIEWPORT_HEIGHT = Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0);