diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-27 14:18:28 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-27 14:18:28 +0300 |
commit | 21b1ae6ecd6d68b3390c0a1e8c0e2e9ef1782383 (patch) | |
tree | 0fc908122aebd94d5420b1afb9a72f3bb6e16c3e /content | |
parent | 9f241f285f84d7b1a780d10137d72c62c0532236 (diff) |
Change >0 to >=1 when rendering the ToC headings
Diffstat (limited to 'content')
-rw-r--r-- | content/assets/javascripts/docs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/assets/javascripts/docs.js b/content/assets/javascripts/docs.js index 2b79a2a1d..a5e97a40f 100644 --- a/content/assets/javascripts/docs.js +++ b/content/assets/javascripts/docs.js @@ -61,7 +61,7 @@ function toggleNavigation() { if (sidebar) { // if there are items - if (tocList.children.length > 0) { + if (tocList.children.length >= 1) { var menu = tocList; // grab the h1's li anchor text |