This commit is contained in:
Peter Maquiran
2021-08-17 12:31:22 +01:00
parent 6714825bb7
commit 63a26a02c0
4 changed files with 21 additions and 18 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export class WaitForDomService {
constructor() { }
selector({ selector, callback }) {
function _try() {
if (!document.querySelector(selector)) {
window.requestAnimationFrame(_try);