Skip to content

Commit 41d9217

Browse files
committed
[toc2] bugfix - unset height set by jquery resizable
for some reason I don't understand, this is set in some cases, but not others, so I missed it before :/
1 parent 9c5cb0b commit 41d9217

File tree

1 file changed

+2
-0
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/toc2

1 file changed

+2
-0
lines changed

src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@
297297
handles: 'all',
298298
resize: function(event, ui) {
299299
if (cfg.sideBar) {
300+
// unset the height set by jquery resizable
301+
$('#toc-wrapper').css('height', '');
300302
setNotebookWidth(cfg, st)
301303
}
302304
},

0 commit comments

Comments
 (0)