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 --- README.md | 2 +- static/ui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b2f7c5..fa5c13d 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ This should fetch, download, parse, and store in the database your feeds. #### Add to cron -Place your binaries and config files some place reasonable and add this to your cron. +Place your binaries and config files some place reasonable and add a cron job 34 * * * * ~/bin/nekocrawl ~/neko_config.json &> /dev/null 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