Skip to content

Commit f8b2d6c

Browse files
committed
Fix category header double click bug on mobile.
1 parent ec6490f commit f8b2d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_site/static/js/resources/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ document.addEventListener("DOMContentLoaded", function () {
214214
let categoryHeaders = $(".filter-category-header .collapsible-content");
215215
let icons = $('.filter-category-header button .card-header-icon i');
216216
categoryHeaders.addClass("no-transition");
217-
categoryHeaders.css("max-height", 0);
217+
categoryHeaders.css("max-height", "");
218218
icons.removeClass(["far", "fa-window-minimize"]);
219219
icons.addClass(["fas", "fa-angle-down"]);
220220
categoryHeaders.removeClass("no-transition");

0 commit comments

Comments
 (0)