Skip to content

Commit

Permalink
Merge pull request #36 from Automattic/fix/iframe-reloads
Browse files Browse the repository at this point in the history
Avoid reloading the same URL when running in an iframe
  • Loading branch information
thingalon authored Mar 2, 2023
2 parents 799e6d7 + 2d3fda7 commit d46421f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser-interface-iframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export class BrowserInterfaceIframe extends BrowserInterface {
);
}

this.currentUrl = rawUrl;
resolve();
} catch ( err ) {
reject( err );
Expand Down

0 comments on commit d46421f

Please sign in to comment.