Skip to content

Commit

Permalink
Fix sending an 'init-script' request from the idle page (DevExpress#1201
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AlexanderMoskovkin authored and AndreyBelym committed Feb 1, 2017
1 parent 5bc0cc4 commit 330751c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function executeInitScript (initScriptUrl, createXHR) {
/* eslint-enable no-eval */
})
.then(() => {
setTimeout(executeInitScript(initScriptUrl, createXHR), 1000);
window.setTimeout(() => executeInitScript(initScriptUrl, createXHR), 1000);
});
}

Expand Down

0 comments on commit 330751c

Please sign in to comment.