FIX: stacking sleep timer modal popups
This commit is contained in:
parent
5ea6f69cb1
commit
09db554aac
1 changed files with 2 additions and 0 deletions
|
|
@ -900,6 +900,8 @@ export function initializeTrackInteractions(player, api, mainContent, contextMen
|
|||
}
|
||||
|
||||
function showSleepTimerModal(player) {
|
||||
if (document.querySelector('.sleep-timer-modal')) return;
|
||||
|
||||
const modal = document.createElement('div');
|
||||
modal.className = 'sleep-timer-modal';
|
||||
modal.innerHTML = `
|
||||
|
|
|
|||
Loading…
Reference in a new issue