diff --git a/index.html b/index.html index 31c4a5d..dca6c03 100644 --- a/index.html +++ b/index.html @@ -232,7 +232,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel - diff --git a/js/glowingbear.js b/js/glowingbear.js index 01105ed..5700c6c 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -450,11 +450,11 @@ function($rootScope, } // We request more lines, but didn't get more. No more lines! if (oldLength === buffer.lines.length) { - $rootScope.noMoreLines = true; + buffer.allLinesFetched = true; } // We requested more lines than we got, no more lines. if (linesReceivedCount < numLines) { - $rootScope.noMoreLines = true; + buffer.allLinesFetched = true; } $rootScope.loadingLines = false; // Scroll read marker to the center of the screen @@ -594,9 +594,6 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $rootScope.$on('activeBufferChanged', function() { $rootScope.scrollWithBuffer(true); - // Reset no more lines - $rootScope.noMoreLines = false; - var ab = models.getActiveBuffer(); if (ab.requestedLines < $scope.lines) { // buffer has not been loaded, but some lines may already be present if they arrived after we connected
+ Fetch more lines Fetching more lines...