don't destroy reference to queueList, so it updates correctly
This commit is contained in:
parent
87656416f6
commit
f3382894e0
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ angular.module('podcasts.queueList', ['podcasts.database'])
|
||||||
}
|
}
|
||||||
|
|
||||||
function rebuildList() {
|
function rebuildList() {
|
||||||
queueList = [];
|
queueList.length = 0;
|
||||||
|
|
||||||
db.get("feedItem", IDBKeyRange.only(1), "ixQueued")
|
db.get("feedItem", IDBKeyRange.only(1), "ixQueued")
|
||||||
.then(function(results) {
|
.then(function(results) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue