diff options
author | Adam Mathes <adam@trenchant.org> | 2017-01-24 21:29:49 -0800 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2017-01-24 21:29:49 -0800 |
commit | 449d30404db432b1849dcf0d9212dcc680fa7cae (patch) | |
tree | 4ed406a27d5237323ce9d08c1b2209b073c6c468 | |
parent | 335edc3af14edbf35b8cb906c0433385c71d2ac6 (diff) | |
download | neko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.gz neko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.bz2 neko-449d30404db432b1849dcf0d9212dcc680fa7cae.zip |
bugfix js no items left
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | static/ui.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; |