Skip to content

Commit ad14780

Browse files
committed
Issue #1402 Update template to not try to load LaTeX menu in non-livenotebook situations
1 parent 640a7d5 commit ad14780

File tree

1 file changed

+1
-1
lines changed
  • src/jupyter_contrib_nbextensions/templates

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/templates/toc2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
$( document ).ready(function(){
1919
2020
var cfg = {{ nb.get('metadata', {}).get('toc', {})|tojson|safe }};
21-
21+
cfg.navigate_menu=false;
2222
// fire the main function with these parameters
2323
require(['nbextensions/toc2/toc2'], function (toc2) {
2424
toc2.table_of_contents(cfg);

0 commit comments

Comments
 (0)