summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/popup-window.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/fg/js/popup-window.js b/ext/fg/js/popup-window.js
index 927a8bac..1365211c 100644
--- a/ext/fg/js/popup-window.js
+++ b/ext/fg/js/popup-window.js
@@ -94,8 +94,9 @@ class PopupWindow extends EventDispatcher {
return false;
}
- showContent(_details, displayDetails) {
- return this._invoke(true, 'setContent', {id: this._id, details: displayDetails});
+ async showContent(_details, displayDetails) {
+ if (displayDetails === null) { return; }
+ await this._invoke(true, 'setContent', {id: this._id, details: displayDetails});
}
setCustomCss(css) {