Fix undefined reference
This commit is contained in:
parent
68a0293867
commit
9557d8048b
@ -285,7 +285,7 @@ class Popup {
|
|||||||
_focusParent() {
|
_focusParent() {
|
||||||
if (this._parent !== null) {
|
if (this._parent !== null) {
|
||||||
// Chrome doesn't like focusing iframe without contentWindow.
|
// Chrome doesn't like focusing iframe without contentWindow.
|
||||||
const contentWindow = this._parent.container.contentWindow;
|
const contentWindow = this._parent._container.contentWindow;
|
||||||
if (contentWindow !== null) {
|
if (contentWindow !== null) {
|
||||||
contentWindow.focus();
|
contentWindow.focus();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user