don't destroy reference to queueList, so it updates correctly

This commit is contained in:
Colin Frei 2013-08-13 18:21:40 +02:00
parent 87656416f6
commit f3382894e0

View file

@ -10,7 +10,7 @@ angular.module('podcasts.queueList', ['podcasts.database'])
}
function rebuildList() {
queueList = [];
queueList.length = 0;
db.get("feedItem", IDBKeyRange.only(1), "ixQueued")
.then(function(results) {