force to anchor after loading the blog
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
97422a663d
commit
c24d2ea943
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue