style: auto-fix linting issues
This commit is contained in:
parent
48a1a87104
commit
2d0ab393a7
1 changed files with 2 additions and 2 deletions
|
|
@ -934,7 +934,7 @@ function getLyricsHighlightColor() {
|
||||||
|
|
||||||
function updateLyricsTheme() {
|
function updateLyricsTheme() {
|
||||||
const highlightColor = getLyricsHighlightColor();
|
const highlightColor = getLyricsHighlightColor();
|
||||||
document.querySelectorAll('am-lyrics').forEach(el => {
|
document.querySelectorAll('am-lyrics').forEach((el) => {
|
||||||
el.setAttribute('highlight-color', highlightColor);
|
el.setAttribute('highlight-color', highlightColor);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -946,7 +946,7 @@ const themeObserver = new MutationObserver(() => {
|
||||||
|
|
||||||
themeObserver.observe(document.documentElement, {
|
themeObserver.observe(document.documentElement, {
|
||||||
attributes: true,
|
attributes: true,
|
||||||
attributeFilter: ['data-theme', 'style']
|
attributeFilter: ['data-theme', 'style'],
|
||||||
});
|
});
|
||||||
|
|
||||||
async function renderLyricsComponent(container, track, audioPlayer, lyricsManager) {
|
async function renderLyricsComponent(container, track, audioPlayer, lyricsManager) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue