Update basicanimations.js

This commit is contained in:
simplePCBuilding authored and GitHub committed 2022-11-24 13:51:31 +01:00
1 parent faf6d9090d
commit 6f12ba3031
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ function highlightLocation () {
let pagename = $(location).attr('pathname')
if (pagename.slice(0, 8) == "/project") {
$('#projects').css("background-color", "darkblue")
} else if (pagename.slice(0, 6) == "/about") {
} else if (pagename.slice(0, 6) == "/about" || pagename == "/privacypolicy.html") {
$('#about').css("background-color", "darkblue")
} else if (pagename == "/" || pagename == "/index.html") {
$('#home').css("background-color", "darkblue")