diff --git a/js/queueList.js b/js/queueList.js index 92ebad0..9838b6c 100644 --- a/js/queueList.js +++ b/js/queueList.js @@ -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) {