Hacker News new | ask | show | jobs
by onion2k 2611 days ago
Your website's menu doesn't work. theme.js is replacing the browser's click listener on each of the menu a tags with a call to the "smoothScrolling" function. That function scrolls the page down to an element that has a "name" attribute that matches the hash, but you've used id attributes on them instead.

FYI you could replace that entire block of code with "html { scroll-behavior: smooth; }" in your site's CSS and get the same effect without needing any JS code at all.

1 comments

Oh, I've just checked and you're right, it's because we made some changes to the website lately, thank you for reporting this!

Also what do you think about the product?

It's not something that I'd use.
Ok, thank you for the feedback!