Skip to content

Commit

Permalink
Revert "Merge pull request #5253 from akphi/patch-1"
Browse files Browse the repository at this point in the history
This reverts commit 601efc3, reversing
changes made to af4208d.
  • Loading branch information
Tyriar committed Feb 14, 2025
1 parent a7a941c commit 18cd9b1
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 18cd9b1

Please sign in to comment.