chore: improve readability

This commit is contained in:
Su-Yong
2025-10-12 14:28:29 +09:00
parent 4f716d8e0b
commit ffa61687bf
137 changed files with 2625 additions and 2626 deletions

View File

@ -115,13 +115,13 @@ export const onRendererLoad = async ({
}: RendererContext<SkipSilencesPluginConfig>) => {
config = await getConfig();
document.addEventListener('ytmd:audio-can-play', audioCanPlayListener, {
document.addEventListener('peard:audio-can-play', audioCanPlayListener, {
passive: true,
});
};
export const onRendererUnload = () => {
document.removeEventListener('ytmd:audio-can-play', audioCanPlayListener);
document.removeEventListener('peard:audio-can-play', audioCanPlayListener);
if (playOrSeekHandler) {
const video = document.querySelector('video');