We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8724844 commit 94fbe36Copy full SHA for 94fbe36
src/resources/projects/website/listing/quarto-listing.js
@@ -6,10 +6,11 @@ const kDefaultCategory = ""; // Default category "" means all posts selected
6
window.quartoListingCategory = (category) => {
7
// category is URI encoded in EJS template for UTF-8 support
8
category = decodeURIComponent(atob(category));
9
- if (categoriesLoaded) {
10
- activateCategory(category);
11
- setCategoryHash();
12
- }
+ selectedCategories.clear();
+ selectedCategories.add(category);
+ updateCategoryUI();
+ filterListingCategory();
13
+ setCategoryHash();
14
};
15
16
window["quarto-listing-loaded"] = () => {
0 commit comments