mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
fix(wait-for-element): add 100ms timeout for improve performance
This commit is contained in:
@ -6,6 +6,6 @@ export const waitForElement = <T extends Element>(selector: string): Promise<T>
|
||||
|
||||
clearInterval(interval);
|
||||
resolve(elem);
|
||||
});
|
||||
}, 100 /* ms */);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user