mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-05-10 10:23:34 +01:00
Increased timeout to 2.5 secs to see if that helps with VS Code open popup
This commit is contained in:
parent
1b1cc773ed
commit
32adf7fde6
@ -300,12 +300,12 @@ export default class Explorer {
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
setTimeout(() => {
|
||||
if (!hasRedirected && Date.now() - startTime < 1200) {
|
||||
if (!hasRedirected && Date.now() - startTime < 2500) {
|
||||
hasRedirected = true;
|
||||
window.open(downloadUrl, "_blank");
|
||||
logConsoleInfo("VS Code not detected. Opening download page.");
|
||||
}
|
||||
}, 1000);
|
||||
}, 2500);
|
||||
|
||||
try {
|
||||
iframe.src = vscodeUrl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user