AmmosSource
guix
Last change
on this file since 47ea86d was 5547430, checked in by Enrico Schwass <ennoausberlin@…>, 3 years ago |
docs updated
|
-
Property mode
set to
100644
|
File size:
498 bytes
|
Rev | Line | |
---|
[5547430] | 1 | var TOC = {
|
---|
| 2 | load: function () {
|
---|
| 3 | $('#toc_button').click(TOC.toggle);
|
---|
| 4 | },
|
---|
| 5 |
|
---|
| 6 | toggle: function () {
|
---|
| 7 | if ($('#sphinxsidebar').toggle().is(':hidden')) {
|
---|
| 8 | $('div.document').css('left', "0px");
|
---|
| 9 | $('toc_button').removeClass("open");
|
---|
| 10 | } else {
|
---|
| 11 | $('div.document').css('left', "230px");
|
---|
| 12 | $('#toc_button').addClass("open");
|
---|
| 13 | }
|
---|
| 14 | return $('#sphinxsidebar');
|
---|
| 15 | }
|
---|
| 16 | };
|
---|
| 17 |
|
---|
| 18 | $(document).ready(function () {
|
---|
| 19 | TOC.load();
|
---|
| 20 | }); |
---|
Note:
See
TracBrowser
for help on using the repository browser.