Skip to content

Commit

Permalink
Add 2 second delay until window is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Oct 10, 2024
1 parent b009bb8 commit ade8fb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/AppBar/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ async function handleWebKNOSSOSClick() {
if (cookieSet) {
console.log('Cookie confirmed, opening WebKNOSSOS...');
await sleep(2000);
window.open(lincWebKNOSSOSUrl, '_blank');
} else {
console.error('Login to WebKNOSSOS did not populate the cookie within the timeout.');
Expand Down

0 comments on commit ade8fb0

Please sign in to comment.