mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 18:21:47 +00:00
use apiLoaded 'once'
lint
This commit is contained in:
@ -73,5 +73,5 @@ module.exports = () => {
|
||||
document.addEventListener('apiLoaded', e => {
|
||||
observePopupContainer();
|
||||
observeVideo();
|
||||
})
|
||||
}, { once: true, passive: true })
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user