Skip to content

Commit 182a0c5

Browse files
authored
Merge pull request #1199 from jcb91/t2_2
[toc2] remove deprecated st var from template
2 parents 751370a + e02ca0c commit 182a0c5

File tree

1 file changed

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

1 file changed

+1
-5
lines changed

src/jupyter_contrib_nbextensions/templates/toc2.tpl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ $( document ).ready(function(){
2929
title_sidebar: 'Contents',
3030
}
3131
32-
var st={}; // some variables used in the script
33-
st.oldTocHeight = undefined
34-
3532
// fire the main function with these parameters
3633
require(['nbextensions/toc2/toc2'], function (toc2) {
37-
toc2.table_of_contents(cfg, st);
34+
toc2.table_of_contents(cfg);
3835
});
3936
});
4037
</script>
4138
42-
4339
{%- endblock header -%}

0 commit comments

Comments
 (0)