Merge pull request #2729 from Simounet/fix/double-overlay-right-sidenav

Fix double overlay on expanded right sidenav
This commit is contained in:
Nicolas Lœuillet
2016-12-30 15:01:39 +01:00
committed by GitHub
5 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ function initFilters() {
// no display if filters not available
if ($('div').is('#filters')) {
$('#button_filters').show();
$('.button-collapse-right').sideNav({ edge: 'right' });
$('.js-filters-action').sideNav({ edge: 'right' });
$('#clear_form_filters').on('click', () => {
$('#filters input').val('');
$('#filters :checked').removeAttr('checked');
@ -48,7 +48,7 @@ function initExport() {
// no display if export not available
if ($('div').is('#export')) {
$('#button_export').show();
$('.button-collapse-right').sideNav({ edge: 'right' });
$('.js-export-action').sideNav({ edge: 'right' });
}
}