mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
binary or is rare in JS
This commit is contained in:
parent
196478b765
commit
1dfdda6e97
@ -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…
x
Reference in New Issue
Block a user