diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-06-25 18:32:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 18:32:29 -0400 |
commit | 6ee50b3c95c970234f9f0151dc2ab55dea51c741 (patch) | |
tree | be7424068308164be13869490d3a635682f2e74e /ext/bg | |
parent | 3e68af8666bdf9a6d8d605f7a3bb0432c8d6cb33 (diff) |
Make PopupFactory.prepare non-async (#625)
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/search.js | 2 | ||||
-rw-r--r-- | ext/bg/js/settings/popup-preview-frame-main.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js index 88be335f..e968e8cf 100644 --- a/ext/bg/js/search.js +++ b/ext/bg/js/search.js @@ -438,7 +438,7 @@ class DisplaySearch extends Display { const {frameId} = await api.frameInformationGet(); const popupFactory = new PopupFactory(frameId); - await popupFactory.prepare(); + popupFactory.prepare(); const frontend = new Frontend( frameId, diff --git a/ext/bg/js/settings/popup-preview-frame-main.js b/ext/bg/js/settings/popup-preview-frame-main.js index 4c6096ec..866b9f57 100644 --- a/ext/bg/js/settings/popup-preview-frame-main.js +++ b/ext/bg/js/settings/popup-preview-frame-main.js @@ -28,7 +28,7 @@ const {frameId} = await api.frameInformationGet(); const popupFactory = new PopupFactory(frameId); - await popupFactory.prepare(); + popupFactory.prepare(); const preview = new PopupPreviewFrame(frameId, popupFactory); await preview.prepare(); |