we don't need to force to anchor here
All checks were successful
Jenkins
Ellpeck/Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2023-04-29 22:48:32 +02:00
parent a1c0452607
commit a81eb7fcdc
2 changed files with 4 additions and 5 deletions

View file

@ -58,18 +58,18 @@ GEM
rexml (3.2.5) rexml (3.2.5)
rouge (4.1.0) rouge (4.1.0)
safe_yaml (1.0.5) safe_yaml (1.0.5)
sass-embedded (1.61.0-x64-mingw-ucrt)
google-protobuf (~> 3.21)
sass-embedded (1.61.0-x64-mingw32) sass-embedded (1.61.0-x64-mingw32)
google-protobuf (~> 3.21) google-protobuf (~> 3.21)
sass-embedded (1.61.0-x64-unknown)
google-protobuf (~> 3.21)
terminal-table (3.0.2) terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3) unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2) unicode-display_width (2.4.2)
webrick (1.8.1) webrick (1.8.1)
PLATFORMS PLATFORMS
x64-mingw-ucrt
x64-mingw32 x64-mingw32
x64-unknown
DEPENDENCIES DEPENDENCIES
jekyll jekyll

View file

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