aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-24 21:29:49 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-24 21:29:49 -0800
commit449d30404db432b1849dcf0d9212dcc680fa7cae (patch)
tree4ed406a27d5237323ce9d08c1b2209b073c6c468
parent335edc3af14edbf35b8cb906c0433385c71d2ac6 (diff)
downloadneko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.gz
neko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.bz2
neko-449d30404db432b1849dcf0d9212dcc680fa7cae.zip
bugfix js no items left
-rw-r--r--README.md2
-rw-r--r--static/ui.js2
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;