Fix undefined reference

This commit is contained in:
toasted-nutbread 2019-12-15 22:22:13 -05:00
parent 68a0293867
commit 9557d8048b

View File

@ -285,7 +285,7 @@ class Popup {
_focusParent() {
if (this._parent !== null) {
// Chrome doesn't like focusing iframe without contentWindow.
const contentWindow = this._parent.container.contentWindow;
const contentWindow = this._parent._container.contentWindow;
if (contentWindow !== null) {
contentWindow.focus();
}