mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Hopefully fix playlist issues
This commit is contained in:
parent
ac629d4b7f
commit
7dde8cffe9
@ -786,11 +786,11 @@ PlaylistModule.prototype._delete = function (uid) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.current === item && item !== next) {
|
if (self.current === item && item === next) {
|
||||||
|
self.current = null;
|
||||||
|
} else {
|
||||||
self.current = next;
|
self.current = next;
|
||||||
self.startPlayback();
|
self.startPlayback();
|
||||||
} else {
|
|
||||||
self.current = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user