From 449d30404db432b1849dcf0d9212dcc680fa7cae Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 24 Jan 2017 21:29:49 -0800 Subject: bugfix js no items left --- static/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') diff --git a/static/ui.js b/static/ui.js index 0c95e69..b767e8f 100644 --- a/static/ui.js +++ b/static/ui.js @@ -273,7 +273,7 @@ var ItemCollection = Backbone.Collection.extend({ App.set('selectedIndex', 0); } }); - if(data.length == 0) { + if(items.length == 0) { App.nomore = true; } App.loading = false; -- cgit v1.2.3