Skip to content

Commit

Permalink
Merge pull request #264 from ringcentral/RCLABS-854
Browse files Browse the repository at this point in the history
Fixed Login Window
  • Loading branch information
SushilMallRC authored Jul 11, 2024
2 parents 1722514 + 68d5206 commit c86b877
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 = '_blank',
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,
'_blank',
target,
target === '_blank'
? `scrollbars=yes, status=yes, width=${width}, height=${height}, left=${left}, top=${top}`
: '',
Expand Down

0 comments on commit c86b877

Please sign in to comment.