Skip to content

Commit

Permalink
Merge pull request #1199 from jcb91/t2_2
Browse files Browse the repository at this point in the history
[toc2] remove deprecated st var from template
  • Loading branch information
jcb91 authored Jan 23, 2018
2 parents 751370a + e02ca0c commit 182a0c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/jupyter_contrib_nbextensions/templates/toc2.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@ $( document ).ready(function(){
title_sidebar: 'Contents',
}
var st={}; // some variables used in the script
st.oldTocHeight = undefined
// fire the main function with these parameters
require(['nbextensions/toc2/toc2'], function (toc2) {
toc2.table_of_contents(cfg, st);
toc2.table_of_contents(cfg);
});
});
</script>
{%- endblock header -%}

0 comments on commit 182a0c5

Please sign in to comment.