diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-12-09 22:18:23 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-12-09 22:18:23 -0500 |
commit | 6668fe02aaa00e7b89af6d22bc9ae2781c756f39 (patch) | |
tree | 433890704b00ea34c4f5a31ae6a7caad08b182c3 /doc/toc.html | |
parent | 82d09c288d3bdf88facd6a4c82d2a309efd7d3a1 (diff) | |
download | volse-hubzilla-6668fe02aaa00e7b89af6d22bc9ae2781c756f39.tar.gz volse-hubzilla-6668fe02aaa00e7b89af6d22bc9ae2781c756f39.tar.bz2 volse-hubzilla-6668fe02aaa00e7b89af6d22bc9ae2781c756f39.zip |
Only display h1 headings in sticky side nav. Toggle display of detailed TOC at top of page. Introduce return to top button for small screens.
Diffstat (limited to 'doc/toc.html')
-rw-r--r-- | doc/toc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/toc.html b/doc/toc.html index a2ebea318..4ef79bd10 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -420,11 +420,11 @@ tocUl.toc({content: "#doco-content", headings: "h1"}); tocUl.addClass('toc-content'); if( $(window).height() > 499) { - tocUl.sticky({topSpacing:$('nav').outerHeight(true), zIndex: 1000}); - } + tocUl.sticky({topSpacing:$('nav').outerHeight(true), zIndex: 1000}); + } } }); - + }); </script> |