aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-02-02 00:08:02 +0100
committerGravatar Leon Sandøy <[email protected]>2022-02-02 00:08:02 +0100
commit3e48c9d57bb0c6fddbe9449bcb8d4b20b41e2448 (patch)
tree9d5baa069f91419e3189115d143129b6dc4b8e31 /pydis_site/static
parentUse external-link-alt for all links. (diff)
Duck pond removed when removing all filters.
Diffstat (limited to 'pydis_site/static')
-rw-r--r--pydis_site/static/js/resources/resources.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/static/js/resources/resources.js b/pydis_site/static/js/resources/resources.js
index e45233b3..508849e1 100644
--- a/pydis_site/static/js/resources/resources.js
+++ b/pydis_site/static/js/resources/resources.js
@@ -129,7 +129,8 @@ function updateUI() {
noTagsSelected.show();
closeFiltersButton.hide();
resourceTags.removeClass("active");
- $(`.filter-checkbox:checked`).prop("checked", false)
+ $(`.filter-checkbox:checked`).prop("checked", false);
+ $(".no-resources-found").hide();
return;
} else {
// Hide everything