Merge pull request #7287 from Carreau/mistake

binary or is rare in JS
This commit is contained in:
Min RK 2014-12-23 20:19:54 -08:00
commit 47b41d980b

View File

@ -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;
}