aboutsummaryrefslogtreecommitdiffstats
path: root/static
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 /static
parent335edc3af14edbf35b8cb906c0433385c71d2ac6 (diff)
downloadneko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.gz
neko-449d30404db432b1849dcf0d9212dcc680fa7cae.tar.bz2
neko-449d30404db432b1849dcf0d9212dcc680fa7cae.zip
bugfix js no items left
Diffstat (limited to 'static')
-rw-r--r--static/ui.js2
1 files changed, 1 insertions, 1 deletions
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;