Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
strayfade committed Dec 18, 2023
1 parent 25119b5 commit 4eff3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/Scrolling.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const UpdateSlides = (SlideNumb) => {
}
const SetYearsCoded = (i) => {
setTimeout(() => {
if (i < 0) return;
document.getElementById("Counter").innerHTML = ((new Date().getFullYear() - 2016) - i).toString() + "+"
SetYearsCoded(--i);
}, 200);
Expand Down
2 changes: 1 addition & 1 deletion scripts/TextAnimation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let TextTags = ["h1", "h2", "h3", "h4", "h5", "h6", "p", "li", "em", "strong", "a", "code", "span"]
let TextTags = ["h1", "h2", "h3", "h4", "h5", "h6", "p", "li", "em", "strong", "a", "code"]
let ReplacementLetters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"

function GetElements() {
Expand Down

0 comments on commit 4eff3c1

Please sign in to comment.