Fix idle check when sorting resources

This commit is contained in:
Lance Stout 2013-12-31 15:24:40 -08:00
parent fe969b3c90
commit 8787231a6c
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ module.exports = BaseCollection.extend({
if (!!res1.idleSince && !!res2.idleSince) {
return 0;
}
if (res1.idleSince && !res2.idleSince) {
if (res1.idleSince && !!res2.idleSince) {
return 1;
}
return -1;

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# 0.0.1 1388531436566
# 0.0.1 1388532098209
CACHE:
/app.js