diff options
Diffstat (limited to 'linux/coredump.html')
-rw-r--r-- | linux/coredump.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/coredump.html b/linux/coredump.html index 22d69b5..d243756 100644 --- a/linux/coredump.html +++ b/linux/coredump.html @@ -32,6 +32,7 @@ </head> <body> + <div id="body-container"> <!-- Provide site root to javascript --> <script> var path_to_root = "../"; @@ -69,10 +70,12 @@ <!-- Hide / unhide sidebar before it is displayed --> <script> var html = document.querySelector('html'); - var sidebar = 'hidden'; + var sidebar = null; if (document.body.clientWidth >= 1080) { try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { } sidebar = sidebar || 'visible'; + } else { + sidebar = 'hidden'; } html.classList.remove('sidebar-visible'); html.classList.add("sidebar-" + sidebar); @@ -267,5 +270,6 @@ coredumpctl dump 6363 -o <file> <!-- Custom JS scripts --> + </div> </body> </html> |