mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Update beetsplug/web/static/beets.js
don't pollute global scope with album_id Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1714705875
commit
d1d58569e1
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ var AppView = Backbone.View.extend({
|
|||
|
||||
updateMediaSession: function (item) {
|
||||
if ("mediaSession" in navigator) {
|
||||
album_id = item.get("album_id");
|
||||
const album_id = item.get("album_id");
|
||||
album_art_url = "album/" + album_id + "/art";
|
||||
navigator.mediaSession.metadata = new MediaMetadata({
|
||||
title: item.get("title"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue