summaryrefslogtreecommitdiff
path: root/ext/js/display/display-profile-selection.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display-profile-selection.js')
-rw-r--r--ext/js/display/display-profile-selection.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/display/display-profile-selection.js b/ext/js/display/display-profile-selection.js
index 3df79b74..0aa08b00 100644
--- a/ext/js/display/display-profile-selection.js
+++ b/ext/js/display/display-profile-selection.js
@@ -63,7 +63,7 @@ export class DisplayProfileSelection {
if (source === this._source) { return; }
this._profileListNeedsUpdate = true;
if (this._profilePanel.isVisible()) {
- this._updateProfileList();
+ void this._updateProfileList();
}
}
@@ -84,7 +84,7 @@ export class DisplayProfileSelection {
this._profileButton.classList.toggle('sidebar-button-highlight', visible);
document.documentElement.dataset.profilePanelVisible = `${visible}`;
if (visible && this._profileListNeedsUpdate) {
- this._updateProfileList();
+ void this._updateProfileList();
}
}
@@ -121,7 +121,7 @@ export class DisplayProfileSelection {
_onProfileRadioChange(index, e) {
const element = /** @type {HTMLInputElement} */ (e.currentTarget);
if (element.checked) {
- this._setProfileCurrent(index);
+ void this._setProfileCurrent(index);
}
}