Skip to content

Commit b82a254

Browse files
vintaclaude
andcommitted
fix(website): clear filter lands at /#library-index on category pages
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 70a8255 commit b82a254

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/static/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ tags.forEach(function (tag) {
342342
if (filterClear) {
343343
filterClear.addEventListener("click", function () {
344344
if (!isIndexPage()) {
345-
window.location.href = "/";
345+
window.location.href = "/#library-index";
346346
return;
347347
}
348348
activeFilter = null;

0 commit comments

Comments
 (0)