Fix bug where no (more) lines were loaded despite there being more

This commit is contained in:
Lorenz Hübschle-Schneider 2014-03-24 18:05:06 +00:00
parent e92cc3017a
commit 0e3bf78087

View file

@ -455,10 +455,6 @@ function($rootScope,
// the read marker position correct // the read marker position correct
buffer.lastSeen -= oldLength; 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. // We requested more lines than we got, no more lines.
if (linesReceivedCount < numLines) { if (linesReceivedCount < numLines) {
buffer.allLinesFetched = true; buffer.allLinesFetched = true;