From 164fb41c6a1f0620d420c062fc6a44892ae2f9d3 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Tue, 24 Jan 2017 21:31:36 -0800 Subject: bugfix js no items left --- static/ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/ui.js b/static/ui.js index b767e8f..35f34e5 100644 --- a/static/ui.js +++ b/static/ui.js @@ -260,7 +260,7 @@ var ItemCollection = Backbone.Collection.extend({ url = url + '&read_filter=all'; } - console.log('fetching from ', url); + // console.log('fetching from ', url); var t = this; $.getJSON(url, function(data) { @@ -273,6 +273,7 @@ var ItemCollection = Backbone.Collection.extend({ App.set('selectedIndex', 0); } }); + console.log("items ", items) if(items.length == 0) { App.nomore = true; } -- cgit v1.2.3