aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/popup-preview-frame.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/pages/settings/popup-preview-frame.js
parent65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff)
Update eslint rules (#710)
Diffstat (limited to 'ext/js/pages/settings/popup-preview-frame.js')
-rw-r--r--ext/js/pages/settings/popup-preview-frame.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/js/pages/settings/popup-preview-frame.js b/ext/js/pages/settings/popup-preview-frame.js
index d3e21641..8d881cc6 100644
--- a/ext/js/pages/settings/popup-preview-frame.js
+++ b/ext/js/pages/settings/popup-preview-frame.js
@@ -89,7 +89,7 @@ export class PopupPreviewFrame {
this._languageSummaries = await this._application.api.getLanguageSummaries();
const options = await this._application.api.optionsGet({current: true});
- this._onOptionsChanged({options, optionsContext: {current: true}});
+ void this._onOptionsChanged({options, optionsContext: {current: true}});
// Overwrite frontend
this._frontend = new Frontend({
@@ -115,7 +115,7 @@ export class PopupPreviewFrame {
}
// Update search
- this._updateSearch();
+ void this._updateSearch();
}
// Private
@@ -181,7 +181,7 @@ export class PopupPreviewFrame {
this._themeChangeTimeout = null;
const popup = /** @type {Frontend} */ (this._frontend).popup;
if (popup === null) { return; }
- popup.updateTheme();
+ void popup.updateTheme();
}, 300);
}
@@ -229,7 +229,7 @@ export class PopupPreviewFrame {
this._exampleText.textContent = text;
if (this._frontend === null) { return; }
- this._updateSearch();
+ void this._updateSearch();
}
/**
@@ -249,7 +249,7 @@ export class PopupPreviewFrame {
if (this._frontend === null) { return; }
const popup = this._frontend.popup;
if (popup === null) { return; }
- popup.setCustomCss(css);
+ void popup.setCustomCss(css);
}
/**
@@ -259,7 +259,7 @@ export class PopupPreviewFrame {
if (this._frontend === null) { return; }
const popup = this._frontend.popup;
if (popup === null) { return; }
- popup.setCustomOuterCss(css, false);
+ void popup.setCustomOuterCss(css, false);
}
/**