|
@@ -115,8 +115,8 @@ async function addQueueButtons(
|
|
e.preventDefault();
|
|
e.preventDefault();
|
|
e.stopImmediatePropagation();
|
|
e.stopImmediatePropagation();
|
|
|
|
|
|
- let song: string | undefined,
|
|
|
|
- artist: string | undefined;
|
|
|
|
|
|
+ let song: string | null | undefined,
|
|
|
|
+ artist: string | null | undefined;
|
|
|
|
|
|
if(listType === "currentQueue") {
|
|
if(listType === "currentQueue") {
|
|
const songInfo = queueItem.querySelector<HTMLElement>(".song-info");
|
|
const songInfo = queueItem.querySelector<HTMLElement>(".song-info");
|