Skip to content

Commit

Permalink
fix(homeConfig): make it work on Spotify 1.2.56
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Feb 3, 2025
1 parent 7cb5498 commit 77455ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsHelper/homeConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ SpicetifyHomeConfig = {};
const main = document.querySelector(".main-home-content");
elem = [...main.querySelectorAll("section")];
for (const [index, item] of elem.entries()) {
item.dataset.uri = list[index].uri ?? list[index].item.uri;
item.dataset.uri = list[index]?.uri ?? list[index].item?.uri;
}

function appendItems() {
Expand Down

0 comments on commit 77455ba

Please sign in to comment.