Fix #1157: player crash when using Funkwhale as a PWA
This commit is contained in:
parent
62e4ddf1f5
commit
b637a94ebe
|
@ -1 +0,0 @@
|
||||||
Updated documentation to reflect changes in Caddy v2.
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fixed player crash when using Funkwhale as a PWA (#1157)
|
|
@ -721,7 +721,7 @@ export default {
|
||||||
// If the session is playing as a PWA, populate the notification
|
// If the session is playing as a PWA, populate the notification
|
||||||
// with details from the track
|
// with details from the track
|
||||||
if ('mediaSession' in navigator) {
|
if ('mediaSession' in navigator) {
|
||||||
let metatata = {
|
let metadata = {
|
||||||
title: this.currentTrack.title,
|
title: this.currentTrack.title,
|
||||||
artist: this.currentTrack.artist.name,
|
artist: this.currentTrack.artist.name,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue