From bdb4c21a784a3b5c342bf456a8ed754d6d5e63f2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 22 Aug 2020 14:35:29 -0400 Subject: [PATCH] Make Popup extend EventDispatcher for parity with PopupProxy (#746) --- ext/fg/js/popup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;