aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-11 21:31:21 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-11 21:31:21 -0500
commitf287d686245371ee3ef8483d1027f06c30dc6a5e (patch)
tree8a61cff7b59826b3a42712ce4eb54dfec4184bbe /ext/bg
parent99867ebdd8ddc168abc3cc796a0c6a23701b2235 (diff)
Add showContentCompleted for improved semantic clarity
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index dc85f493..9f642681 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -166,7 +166,7 @@ class SettingsPopupPreview {
source.cleanup();
}
this.textSource = source;
- await this.frontend.lastShowPromise;
+ await this.frontend.showContentCompleted();
if (this.frontend.popup.isVisible()) {
this.popupShown = true;