aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-22 14:35:29 -0400
committerGitHub <noreply@github.com>2020-08-22 14:35:29 -0400
commitbdb4c21a784a3b5c342bf456a8ed754d6d5e63f2 (patch)
treec24216245750901169fd4c5bec45c248cf52a265 /ext
parent1dc35dd6f13828a8d2a134de754ce54d33db4a86 (diff)
Make Popup extend EventDispatcher for parity with PopupProxy (#746)
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/popup.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index 5a0166bf..bbf39c4e 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -22,8 +22,9 @@
* dynamicLoader
*/
-class Popup {
+class Popup extends EventDispatcher {
constructor(id, depth, frameId, ownerFrameId) {
+ super();
this._id = id;
this._depth = depth;
this._frameId = frameId;