mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Fix filters and export sidenavs
This commit is contained in:
parent
717195d3f5
commit
8df7d21777
4 changed files with 11 additions and 6 deletions
|
@ -32,7 +32,7 @@ function initFilters() {
|
|||
// no display if filters not available
|
||||
if ($('div').is('#filters')) {
|
||||
$('#button_filters').show();
|
||||
$('.js-filters-action').sidenav({ edge: 'right' });
|
||||
$('#filters.sidenav').sidenav({ edge: 'right' });
|
||||
$('#clear_form_filters').on('click', () => {
|
||||
$('#filters input').val('');
|
||||
$('#filters :checked').removeAttr('checked');
|
||||
|
@ -46,7 +46,7 @@ function initExport() {
|
|||
// no display if export not available
|
||||
if ($('div').is('#export')) {
|
||||
$('#button_export').show();
|
||||
$('.js-export-action').sidenav({ edge: 'right' });
|
||||
$('#export.sidenav').sidenav({ edge: 'right' });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,3 +48,8 @@
|
|||
.items-number {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.button-filters .sidenav-trigger,
|
||||
.button-export .sidenav-trigger {
|
||||
display: block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue