Skip to content

Commit

Permalink
Merge pull request #1227 from cjld/master
Browse files Browse the repository at this point in the history
[scroll_down]output will not scroll down when add new block
  • Loading branch information
jcb91 authored Feb 6, 2018
2 parents 53eb1b8 + 786c44a commit 1a628e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ define([

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

0 comments on commit 1a628e7

Please sign in to comment.