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