Merge pull request #240 from lorenzhs/fetchlines

Fix bug where no (more) lines were loaded despite there being more
This commit is contained in:
David Cormier 2014-04-07 14:50:56 -04:00
commit 2cc4172ae0

View file

@ -455,10 +455,6 @@ function($rootScope,
// the read marker position correct
buffer.lastSeen -= oldLength;
}
// We request more lines, but didn't get more. No more lines!
if (oldLength === buffer.lines.length) {
buffer.allLinesFetched = true;
}
// We requested more lines than we got, no more lines.
if (linesReceivedCount < numLines) {
buffer.allLinesFetched = true;