mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
improve
This commit is contained in:
@@ -9,7 +9,7 @@ export class WaitForDomService {
|
||||
constructor() { }
|
||||
|
||||
selector({ selector, callback }) {
|
||||
|
||||
|
||||
function _try() {
|
||||
if (!document.querySelector(selector)) {
|
||||
window.requestAnimationFrame(_try);
|
||||
|
||||
Reference in New Issue
Block a user