mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
commit
47b41d980b
@ -175,7 +175,7 @@ define([
|
||||
*
|
||||
**/
|
||||
OutputArea.prototype.scroll_if_long = function (lines) {
|
||||
var n = lines | OutputArea.minimum_scroll_threshold;
|
||||
var n = lines || OutputArea.minimum_scroll_threshold;
|
||||
if(n <= 0){
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user