Skip to content

Commit

Permalink
Change target _selft to RingCentralLoginWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
SushilMallRC committed Jul 11, 2024
1 parent 4dfbbd8 commit 98980dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/platform/Platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export default class Platform extends EventEmitter {
height = 600,
origin = window.location.origin,
property = Constants.authResponseProperty,
target = '_self',
target = 'RingCentralLoginWindow',
}: LoginWindowOptions): Promise<LoginOptions> {
// clear check last timeout when user open loginWindow twice to avoid leak
this._clearLoginWindowCheckTimeout();
Expand All @@ -378,7 +378,7 @@ export default class Platform extends EventEmitter {

const win = window.open(
url,
'_self',
'RingCentralLoginWindow',
target === '_blank'
? `scrollbars=yes, status=yes, width=${width}, height=${height}, left=${left}, top=${top}`
: '',
Expand Down

0 comments on commit 98980dd

Please sign in to comment.