fix: picture-in-picture icon

This commit is contained in:
JellyBrick
2023-12-28 02:17:42 +09:00
parent e67699fed5
commit 48eeb6bca3
3 changed files with 10 additions and 6 deletions

View File

@ -42,11 +42,9 @@ const menuObserver = new MutationObserver(() => {
menu.prepend(downloadButton);
progress = document.querySelector('#ytmcustom-download');
if (doneFirstLoad) {
return;
if (!doneFirstLoad) {
setTimeout(() => (doneFirstLoad ||= true), 500);
}
setTimeout(() => (doneFirstLoad ||= true), 500);
});
export const onRendererLoad = ({