Fixed a missing self.buffer()
This commit is contained in:
parent
c2eb8828de
commit
0fa22937e0
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
self._processCurrentLogData = function(data) {
|
||||
self.log(self.log().concat(_.map(data, function(line) { return self._toInternalFormat(line) })));
|
||||
if (self.autoscrollEnabled()) {
|
||||
self.log(self.log.slice(-300));
|
||||
self.log(self.log.slice(-self.buffer()));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue