Skip to content

Commit

Permalink
Merge pull request #5313 from Tyriar/revert_4978
Browse files Browse the repository at this point in the history
Revert "Merge pull request #5253 from akphi/patch-1"
  • Loading branch information
Tyriar authored Feb 14, 2025
2 parents a7a941c + 18cd9b1 commit 2042bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/CoreBrowserTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
}

// If the terminal is already opened
if (this.element?.ownerDocument.defaultView && this._coreBrowserService && this.element?.isConnected) {
if (this.element?.ownerDocument.defaultView && this._coreBrowserService) {
// Adjust the window if needed
if (this.element.ownerDocument.defaultView !== this._coreBrowserService.window) {
this._coreBrowserService.window = this.element.ownerDocument.defaultView;
Expand Down

0 comments on commit 2042bb8

Please sign in to comment.