Fixed a missing self.buffer()

This commit is contained in:
Marc 2015-07-17 18:48:34 +02:00
parent c2eb8828de
commit 0fa22937e0

View file

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