mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #1128 from openclassify/muammertop
#4380 ads list filter fix
This commit is contained in:
commit
3bc356b1a0
@ -145,6 +145,10 @@ $(document).ready(function () {
|
||||
filter.checkUser();
|
||||
});
|
||||
|
||||
$('.filter-box>div:first-child').on('click', function () {
|
||||
$(this).siblings().toggleClass('d-none');
|
||||
})
|
||||
|
||||
// Country filter
|
||||
const locationFilter = $("select[name=filter_country]")
|
||||
locationFilter.select2({
|
||||
@ -205,4 +209,4 @@ $("#listFilterForm, #listFilterFormMobile").submit(function (e) {
|
||||
// Change view type
|
||||
function changeViewType(viewLink) {
|
||||
window.location.href = viewLink
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user