We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc744b7 commit 642587bCopy full SHA for 642587b
src/public/js/transports.js
@@ -10,13 +10,13 @@ function createTransportScripts() {
10
libcurlScript.src = 'libcurl/index.cjs';
11
//libcurlScript.defer = true;
12
document.body.appendChild(libcurlScript);
13
- //wait for the scripts to load
14
- epoxyScript.onload = () => {
15
- libcurlScript.onload = () => {
16
- console.log('Transport Scripts Loaded');
+ //wait for the scripts to be loaded
+ const checkScripts = setInterval(() => {
+ if (typeof EpxMod !== 'undefined' && typeof CurlMod !== 'undefined') {
+ clearInterval(checkScripts);
17
resolve();
18
}
19
- }
+ }, 100);
20
});
21
22
0 commit comments