From 9557d8048bea524e22348a2ce5ce2d4a415102ee Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 15 Dec 2019 22:22:13 -0500 Subject: [PATCH] Fix undefined reference --- ext/fg/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index 2026b7a5..4d00f629 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -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(); }