We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84df2f6 commit 097d7ccCopy full SHA for 097d7cc
docs/_templates/page.html
@@ -4,12 +4,13 @@
4
<title>{{ title|striptags|e }}{%- for parent in parents %} – {{ parent.title }}{%- endfor %}{{ titlesuffix }}</title>
5
{%- endblock %}
6
7
+
8
{% block footer %}
9
<script type="text/javascript">
10
$(document).ready(function() {
11
// Hide empty sub menu.
- if ($.trim($(".topbar-contents .bd-toc").html()) === "") {
12
- $(".topbar-contents .bd-toc").css("visibility", "hidden");
+ if ($.trim($(".sticky-top .bd-toc").html()) === "") {
13
+ $(".sticky-top .bd-toc").css("visibility", "hidden");
14
}
15
});
16
</script>
0 commit comments