mirror of https://github.com/calzoneman/sync.git
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…
Reference in New Issue