| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -497,7 +497,7 @@ export class View extends ViewCommon { | |||
| 497 | 497 | ||
| 498 | 498 | public getLocationRelativeTo(otherView: ViewCommon): Point { | |
| 499 | 499 | if (!this.nativeViewProtected || !this.nativeViewProtected.getWindowToken() || | |
| 500 | - !otherView.nativeViewProtected || !otherView.nativeViewProtected.getWindowToken() || | ||
| 500 | + !otherView || !otherView.nativeViewProtected || !otherView.nativeViewProtected.getWindowToken() || | ||
| 501 | 501 | this.nativeViewProtected.getWindowToken() !== otherView.nativeViewProtected.getWindowToken()) { | |
| 502 | 502 | return undefined; | |
| 503 | 503 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -143,7 +143,7 @@ export class Frame extends FrameBase { | |||
| 143 | 143 | // In this case call _navigateCore in order to recreate the current fragment. | |
| 144 | 144 | // Don't call navigate because it will fire navigation events. | |
| 145 | 145 | // As JS instances are alive it is already done for the current page. | |
| 146 | - if (!this.isLoaded || !this._attachedToWindow) { | ||
| 146 | + if (!this.isLoaded || this._executingEntry || !this._attachedToWindow) { | ||
| 147 | 147 | return; | |
| 148 | 148 | } | |
| 149 | 149 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments