summaryrefslogtreecommitdiff
path: root/docs/_build/html/_static/sidebar.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_build/html/_static/sidebar.js')
-rw-r--r--docs/_build/html/_static/sidebar.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/_build/html/_static/sidebar.js b/docs/_build/html/_static/sidebar.js
index e9ef491..a45e192 100644
--- a/docs/_build/html/_static/sidebar.js
+++ b/docs/_build/html/_static/sidebar.js
@@ -29,6 +29,9 @@ $(function() {
var sidebar = $('.sphinxsidebar');
var sidebarwrapper = $('.sphinxsidebarwrapper');
+ // for some reason, the document has no sidebar; do not run into errors
+ if (!sidebar.length) return;
+
// original margin-left of the bodywrapper and width of the sidebar
// with the sidebar expanded
var bw_margin_expanded = bodywrapper.css('margin-left');