aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-factory.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-25 18:32:29 -0400
committerGitHub <noreply@github.com>2020-06-25 18:32:29 -0400
commit6ee50b3c95c970234f9f0151dc2ab55dea51c741 (patch)
treebe7424068308164be13869490d3a635682f2e74e /ext/fg/js/popup-factory.js
parent3e68af8666bdf9a6d8d605f7a3bb0432c8d6cb33 (diff)
Make PopupFactory.prepare non-async (#625)
Diffstat (limited to 'ext/fg/js/popup-factory.js')
-rw-r--r--ext/fg/js/popup-factory.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/popup-factory.js b/ext/fg/js/popup-factory.js
index 4edda91f..904f18b9 100644
--- a/ext/fg/js/popup-factory.js
+++ b/ext/fg/js/popup-factory.js
@@ -28,7 +28,7 @@ class PopupFactory {
// Public functions
- async prepare() {
+ prepare() {
api.crossFrame.registerHandlers([
['getOrCreatePopup', {async: false, handler: this._onApiGetOrCreatePopup.bind(this)}],
['setOptionsContext', {async: true, handler: this._onApiSetOptionsContext.bind(this)}],