Skip to content

Commit

Permalink
#i
Browse files Browse the repository at this point in the history
  • Loading branch information
denys.oblohin committed Feb 17, 2022
1 parent f4e6eec commit 7cea0c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/apps/app/src/testApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ class TestApp {
const expiresAt = tokenStorage.accessToken.expiresAt;
const now = Math.ceil(Date.now() / 1000);
if (expiresAt - now > maxTimeToRenew) {
const content = Array.from({length: tabsCount}, () => `
<iframe src="${this.renewUrl}" width="250" height="100"></iframe>
const content = Array.from({length: tabsCount}, (_, i) => `
<iframe src="${this.renewUrl}#${i}" width="250" height="100"></iframe>
`).join('\n');
this._setCrossTabsContent(content);
const iframes = document.getElementsByTagName('iframe');
Expand Down

0 comments on commit 7cea0c5

Please sign in to comment.