mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Fix song sharing on iDevice (for real)
This commit is contained in:
parent
e69c989a1f
commit
8cd9e66485
1 changed files with 1 additions and 2 deletions
|
@ -74,7 +74,7 @@ export default {
|
|||
if (isMobile.apple.device) {
|
||||
// Mobile Safari doesn't allow autoplay, so we just queue.
|
||||
queueStore.queue(song);
|
||||
this.parent.go('queue');
|
||||
loadMainView('queue');
|
||||
} else {
|
||||
playback.queueAndPlay(song);
|
||||
}
|
||||
|
@ -82,7 +82,6 @@ export default {
|
|||
},
|
||||
|
||||
init() {
|
||||
this.routes.parent = this;
|
||||
this.loadState();
|
||||
window.addEventListener('popstate', () => this.loadState(), true);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue