This commit is contained in:
wilsonfreitas
2024-11-26 01:30:03 +00:00
parent 3d4026b08f
commit 3eafa85d83
8 changed files with 32 additions and 41 deletions
@@ -202,4 +202,4 @@ code span.kw {
content: "</";
}
/*# sourceMappingURL=debc5d5d77c3f9108843748ff7464032.css.map */
/*# sourceMappingURL=5353fc8bf2a85bac2e7a98e8d13296a2.css.map */
+4 -1
View File
@@ -225,7 +225,10 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
}
async function findAndActivateCategories() {
const currentPagePath = offsetAbsoluteUrl(window.location.href);
// Categories search with listing only use path without query
const currentPagePath = offsetAbsoluteUrl(
window.location.origin + window.location.pathname
);
const response = await fetch(offsetRelativeUrl("listings.json"));
if (response.status == 200) {
return response.json().then(function (listingPaths) {