Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toc2 - Left margin not restored when toggling on/off the sidebar #1249

Closed
jfbercher opened this issue Feb 24, 2018 · 0 comments
Closed

toc2 - Left margin not restored when toggling on/off the sidebar #1249

jfbercher opened this issue Feb 24, 2018 · 0 comments

Comments

@jfbercher
Copy link
Member

The margins are not restored when togging off the sidebar by pushing the toc button.
This is due to the fact that function toggle_toc in toc2.js fails line 651 because cfg object is undefined. Tentative fix follows.

jfbercher added a commit to jfbercher/jupyter_contrib_nbextensions that referenced this issue Feb 24, 2018
jfbercher added a commit that referenced this issue Mar 19, 2018
[toc2] Initialize toc2 button after cfg is loaded / fix #1249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant