diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/ui.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/static/ui.js b/static/ui.js index b0f7aa2..5ab79ea 100644 --- a/static/ui.js +++ b/static/ui.js @@ -275,10 +275,13 @@ var ItemCollection = Backbone.Collection.extend({ }); console.log("items ", items) if(items.length == 0) { + console.log("no more items"); App.noMore = true; + App.loading = true; + } + else { + App.loading = false; } - App.loading = false; - // we wait and add them all at once for performance on mobile App.itemListView.addAll(items); |