Commit 1166b380 authored by Mike Greiling's avatar Mike Greiling

prevent infinite loop when no content is returned

parent 8d397706
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
this.callback(); this.callback();
// keep loading until we've filled the viewport height // keep loading until we've filled the viewport height
if (!this.isScrollable()) { if (data.count > 0 && !this.isScrollable()) {
this.getOld(); this.getOld();
} else { } else {
this.loading.hide(); this.loading.hide();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment