force to anchor after loading the blog
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2021-11-08 18:45:31 +01:00
parent 97422a663d
commit c24d2ea943

View file

@ -12,6 +12,7 @@ $(".blog-cat-button").on("click", function () {
let category = location.hash.match(/#blog-(.+)/);
openCategory(category && decodeURI(category[1]));
forceToAnchor();
function openCategory(name) {
// if there are no tags that match our name, we display featured