Comments
Patch
@@ -367,6 +367,7 @@
if (scrollHeight - (scrollTop + clientHeight) < 50) {
updateInitiated = true;
container.lastElementChild.classList.add('scroll-separator');
+ removeByClassName('scroll-loading-error');
if (!nextHash) {
var message = {
@@ -399,6 +400,11 @@
process_dates();
},
function onerror(errorText) {
+ var message = {
+ class: 'scroll-loading-error',
+ text: 'Error: ' + errorText
+ };
+ appendFormatHTML(container, messageFormat, message);
},
function oncomplete() {
removeByClassName('scroll-loading');