Skip to content

Commit 786c44a

Browse files
authored
output will not scroll down when add new block
1 parent 53eb1b8 commit 786c44a

File tree

1 file changed

+1
-1
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/scroll_down

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/scroll_down/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ define([
3939

4040
// the event was renamed from 'resize' to 'resizeOutput' in
4141
// https://github.com/jupyter/notebook/commit/b4928d481abd9f7cd996fd4b24078a55880d21e6
42-
$(".output").on("resize resizeOutput", function () {
42+
$(document).on("resize resizeOutput", ".output", function () {
4343
if (!params.scrollDownIsEnabled) return;
4444
var output = $(this);
4545
setTimeout(function () {

0 commit comments

Comments
 (0)