diff options
author | Adam Mathes <adam@trenchant.org> | 2017-01-24 21:31:36 -0800 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2017-01-24 21:31:36 -0800 |
commit | 164fb41c6a1f0620d420c062fc6a44892ae2f9d3 (patch) | |
tree | d240973e2d9c7ab58d3cf0ca212dfd8f9c56adcd | |
parent | 449d30404db432b1849dcf0d9212dcc680fa7cae (diff) | |
download | neko-164fb41c6a1f0620d420c062fc6a44892ae2f9d3.tar.gz neko-164fb41c6a1f0620d420c062fc6a44892ae2f9d3.tar.bz2 neko-164fb41c6a1f0620d420c062fc6a44892ae2f9d3.zip |
bugfix js no items left
-rw-r--r-- | static/ui.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |