style: auto-fix linting issues
This commit is contained in:
parent
08ca581c79
commit
51af77d828
1 changed files with 5 additions and 1 deletions
|
|
@ -472,7 +472,11 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||||
|
|
||||||
// DEV: Auto-open fullscreen mode if ?fullscreen=1 in URL
|
// DEV: Auto-open fullscreen mode if ?fullscreen=1 in URL
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
if (urlParams.get('fullscreen') === '1' && fullscreenOverlay && getComputedStyle(fullscreenOverlay).display === 'none') {
|
if (
|
||||||
|
urlParams.get('fullscreen') === '1' &&
|
||||||
|
fullscreenOverlay &&
|
||||||
|
getComputedStyle(fullscreenOverlay).display === 'none'
|
||||||
|
) {
|
||||||
const nextTrack = player.getNextTrack();
|
const nextTrack = player.getNextTrack();
|
||||||
ui.showFullscreenCover(player.currentTrack, nextTrack, lyricsManager, audioPlayer);
|
ui.showFullscreenCover(player.currentTrack, nextTrack, lyricsManager, audioPlayer);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue