aboutsummaryrefslogtreecommitdiffhomepage
path: root/development/symbolver.html
diff options
context:
space:
mode:
Diffstat (limited to 'development/symbolver.html')
-rw-r--r--development/symbolver.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/development/symbolver.html b/development/symbolver.html
index bd506cb..3fa715a 100644
--- a/development/symbolver.html
+++ b/development/symbolver.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);
@@ -397,5 +400,6 @@ func_v2
<!-- Custom JS scripts -->
+ </div>
</body>
</html>