Closed Pustur closed 4 years ago
Hi @Pustur , just wanted to say hi and welcome to the project :)
Hey, thanks for the warm welcome,
I just noticed that there are some helper functions that I could use like elem/elems
instead of document.querySelector/querySelectorAll
.
Should I refactor my code to use them?
I have checked out the code, run it, and couldn't find any problems.
Should I refactor my code to use them?
Your call. I think the helpers you're seeing came with the theme, so we're not attached to them.
I'll leave the code as it is now then.
awesome appreciate your work on that one @Pustur
Hi,
I tried to remove jQuery entirely from the codebase.
There is a whole function that I don't think was still used. I'm talking about the one in index.js that was supposed to change the appearance of the nav bar depending on the scroll position.
Looking for
nav_header
in the whole project didn't give me any result, so I think that function is not used anymore.I tested the changes briefly and everything seems to work fine, but I'd appreciate if someone gave it a look since it's the first time I contribute to this project and I may have missed something.
Closes #95