From bde88d4674f065cd399de55d1535ff166519eac2 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 26 Dec 2023 10:27:33 +0100 Subject: [PATCH] (cp 5c90a44) fixes #2076 remove an unnecessary line When clear is clicked in the "album" filter but the "tag" filter is activated, the clear action in the "album" filter does not work. Because of this line. Clear action in the album filter was clearing both album and tag filters. --- themes/default/js/mcs.js | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/default/js/mcs.js b/themes/default/js/mcs.js index 365eeee69..0d85e513c 100644 --- a/themes/default/js/mcs.js +++ b/themes/default/js/mcs.js @@ -155,7 +155,6 @@ $(document).ready(function () { } $(".filter-album .filter-actions .clear").on('click', function () { - $("#tag-search")[0].selectize.clear(); $(".filter-album .search-params input[value='AND']"); related_categories_ids = []; $(".selected-categories-container").empty();