From 77c254f225c180e2ce56044acda45399cd357d2d Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Fri, 8 Dec 2017 14:19:01 -0700 Subject: Rename page-with-sidebar to layout-page --- app/assets/javascripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts/main.js') diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index dcc0fa63b63..d52cae22738 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -128,7 +128,7 @@ $(function () { }); if (bootstrapBreakpoint === 'xs') { - const $rightSidebar = $('aside.right-sidebar, .page-with-sidebar'); + const $rightSidebar = $('aside.right-sidebar, .layout-page'); $rightSidebar .removeClass('right-sidebar-expanded') @@ -188,7 +188,7 @@ $(function () { trigger: 'focus', // set the viewport to the main content, excluding the navigation bar, so // the navigation can't overlap the popover - viewport: '.page-with-sidebar' + viewport: '.layout-page' }); $('.trigger-submit').on('change', function () { return $(this).parents('form').submit(); -- cgit v1.2.1