mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge branch 'dia2' of https://github.com/openclassify/openclassify
This commit is contained in:
commit
6a640cac41
@ -141,4 +141,13 @@ $('.set_category').on('click', function () {
|
||||
|
||||
$('#filterModal').find('form').attr("action", '/advs/list');
|
||||
$('#filterModal').modal('toggle');
|
||||
})
|
||||
});
|
||||
|
||||
// Move filter on small screen
|
||||
$(window).resize(function() {
|
||||
const width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
|
||||
if (width <= 575) {
|
||||
const detach = $('#listFilterForm').detach();
|
||||
$('#modalListFilterForm').append(detach);
|
||||
}
|
||||
});
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
{% include "visiosoft.module.advs::list/partials/list-filter" %}
|
||||
<div id="modalListFilterForm"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user