mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-13 16:37:59 +00:00
fix(website): clear filter lands at /#library-index on category pages
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
70a8255289
commit
b82a254a09
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ tags.forEach(function (tag) {
|
|||
if (filterClear) {
|
||||
filterClear.addEventListener("click", function () {
|
||||
if (!isIndexPage()) {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/#library-index";
|
||||
return;
|
||||
}
|
||||
activeFilter = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue