summaryrefslogtreecommitdiff
path: root/ext/js/app/popup.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-19 07:30:17 -0500
committerGitHub <noreply@github.com>2024-02-19 12:30:17 +0000
commit2da866f982930c76d2317a3be426410683ecf5a2 (patch)
treee77ce545177ba398068cb63037096a56dea04e2c /ext/js/app/popup.js
parent65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff)
Update eslint rules (#710)
Diffstat (limited to 'ext/js/app/popup.js')
-rw-r--r--ext/js/app/popup.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/app/popup.js b/ext/js/app/popup.js
index c9011932..7a8b3f8c 100644
--- a/ext/js/app/popup.js
+++ b/ext/js/app/popup.js
@@ -304,7 +304,7 @@ export class Popup extends EventDispatcher {
await this._show(sourceRects, writingMode);
if (displayDetails !== null) {
- this._invokeSafe('displaySetContent', {details: displayDetails});
+ void this._invokeSafe('displaySetContent', {details: displayDetails});
}
}
@@ -662,7 +662,7 @@ export class Popup extends EventDispatcher {
if (this._visibleValue === value) { return; }
this._visibleValue = value;
this._frame.style.setProperty('visibility', value ? 'visible' : 'hidden', 'important');
- this._invokeSafe('displayVisibilityChanged', {value});
+ void this._invokeSafe('displayVisibilityChanged', {value});
}
/**
@@ -1028,7 +1028,7 @@ export class Popup extends EventDispatcher {
this._useSecureFrameUrl = general.useSecurePopupFrameUrl;
this._useShadowDom = general.usePopupShadowDom;
this._customOuterCss = general.customPopupOuterCss;
- this.updateTheme();
+ void this.updateTheme();
}
/**