Fixed a missing self.buffer()

This commit is contained in:
Marc committed 2015-07-17 18:48:34 +02:00
1 parent c2eb8828de
commit 0fa22937e0
1 file changed
+1 -1
@@ -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()));
}
};