mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -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.checkUser();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.filter-box>div:first-child').on('click', function () {
|
||||||
|
$(this).siblings().toggleClass('d-none');
|
||||||
|
})
|
||||||
|
|
||||||
// Country filter
|
// Country filter
|
||||||
const locationFilter = $("select[name=filter_country]")
|
const locationFilter = $("select[name=filter_country]")
|
||||||
locationFilter.select2({
|
locationFilter.select2({
|
||||||
@ -205,4 +209,4 @@ $("#listFilterForm, #listFilterFormMobile").submit(function (e) {
|
|||||||
// Change view type
|
// Change view type
|
||||||
function changeViewType(viewLink) {
|
function changeViewType(viewLink) {
|
||||||
window.location.href = viewLink
|
window.location.href = viewLink
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user