We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee96c28 commit 3734c5fCopy full SHA for 3734c5f
popup/popup.js
@@ -525,7 +525,7 @@ const sortVideos = (group) => {
525
if (playing !== 0) { return playing; }
526
const queued = !!b.queued - !!a.queued;
527
if (queued !== 0) { return queued; }
528
- if (a.queued && b.queued) {
+ if (a.queued && b.queued && queue) {
529
return queue[a.url] - queue[b.url];
530
} else {
531
const watched = !!a.watched - !!b.watched;
0 commit comments