Fixed a missing self.buffer()

(cherry picked from commit 0fa22937e0)
This commit is contained in:
Gina Häußge 2015-07-20 10:09:33 +02:00
parent d4be7f18e2
commit 50ff0d810f

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