mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Fix warnings in genius plugin
This commit is contained in:
@ -78,7 +78,7 @@ module.exports = () => {
|
||||
}
|
||||
|
||||
function setLyrics(lyricsContainer) {
|
||||
lyricsContainer.innerHTML =
|
||||
lyricsContainer.innerHTML =
|
||||
`<div id="contents" class="style-scope ytmusic-section-list-renderer description ytmusic-description-shelf-renderer genius-lyrics">
|
||||
${hasLyrics ? lyrics : 'Could not retrieve lyrics from genius'}
|
||||
|
||||
@ -91,7 +91,7 @@ module.exports = () => {
|
||||
}
|
||||
|
||||
function setTabsOnclick(callback) {
|
||||
for (tab of [tabs.upNext, tabs.discover]) {
|
||||
for (const tab of [tabs.upNext, tabs.discover]) {
|
||||
if (tab) {
|
||||
tab.onclick = callback;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user