1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Updated page navigation click to show content tab on mobile

Fixes #1454
This commit is contained in:
Dan Brown
2019-05-25 15:37:49 +01:00
parent 35e6635379
commit 78f5f44460
2 changed files with 25 additions and 8 deletions

View File

@ -20,6 +20,7 @@ class PageDisplay {
// Sidebar page nav click event
$('.sidebar-page-nav').on('click', 'a', event => {
window.components['tri-layout'][0].showContent();
this.goToText(event.target.getAttribute('href').substr(1));
});
}