Custom Header Links: links reload Discourse

I created a fork to fix this issue: GitHub - sylque/discourse-custom-header-links2: Same as the official discourse-custom-header-links, but with links moved to the hamburger menu instead of being hidden · GitHub.