From ccb9e79a35cdac9f93de90f577f8ec63fdcc6081 Mon Sep 17 00:00:00 2001 From: Simounet Date: Thu, 29 Dec 2016 19:17:36 +0100 Subject: Fix double overlay on expanded right sidenav --- app/Resources/static/themes/_global/js/tools.js | 4 ++-- .../CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig | 4 ++-- .../CoreBundle/Resources/views/themes/material/layout.html.twig | 4 ++-- web/bundles/wallabagcore/themes/baggy/js/baggy.min.js | 2 +- web/bundles/wallabagcore/themes/material/js/material.min.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Resources/static/themes/_global/js/tools.js b/app/Resources/static/themes/_global/js/tools.js index 568b2dce..cee84fa8 100644 --- a/app/Resources/static/themes/_global/js/tools.js +++ b/app/Resources/static/themes/_global/js/tools.js @@ -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' }); } } diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index a4a56e46..95c84686 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig @@ -18,8 +18,8 @@
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}