Commit c46f9fd5 authored by Stephanus Volke's avatar Stephanus Volke

fix bug in waitForElementById function

parent 72ce3dfd
Pipeline #722 passed with stages
in 14 seconds
{ {
"name": "html-custom-elements", "name": "html-custom-elements",
"version": "0.5.0", "version": "0.5.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
...@@ -34,7 +34,7 @@ export class HTMLCustomElement extends HTMLElement { ...@@ -34,7 +34,7 @@ export class HTMLCustomElement extends HTMLElement {
window.clearInterval(timer); window.clearInterval(timer);
resolve(elem); resolve(elem);
} }
}, 50); }, 50, id);
}); });
return prom; return prom;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment