aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/profile-conditions-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/pages/settings/profile-conditions-ui.js')
-rw-r--r--ext/js/pages/settings/profile-conditions-ui.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/js/pages/settings/profile-conditions-ui.js b/ext/js/pages/settings/profile-conditions-ui.js
index d2bf03bf..8f53232a 100644
--- a/ext/js/pages/settings/profile-conditions-ui.js
+++ b/ext/js/pages/settings/profile-conditions-ui.js
@@ -266,7 +266,7 @@ export class ProfileConditionsUI extends EventDispatcher {
this._children[i].index = i;
}
- this.settingsController.modifyGlobalSettings([{
+ void this.settingsController.modifyGlobalSettings([{
action: 'splice',
path: this.getPath('conditionGroups'),
start: index,
@@ -333,7 +333,7 @@ export class ProfileConditionsUI extends EventDispatcher {
this._addConditionGroup(conditionGroup, index);
- this.settingsController.modifyGlobalSettings([{
+ void this.settingsController.modifyGlobalSettings([{
action: 'splice',
path: this.getPath('conditionGroups'),
start: index,
@@ -543,7 +543,7 @@ class ProfileConditionGroupUI {
this._children[i].index = i;
}
- this.settingsController.modifyGlobalSettings([{
+ void this.settingsController.modifyGlobalSettings([{
action: 'splice',
path: this.getPath('conditions'),
start: index,
@@ -581,7 +581,7 @@ class ProfileConditionGroupUI {
this._addCondition(condition, index);
- this.settingsController.modifyGlobalSettings([{
+ void this.settingsController.modifyGlobalSettings([{
action: 'splice',
path: this.getPath('conditions'),
start: index,
@@ -714,7 +714,7 @@ class ProfileConditionUI {
const element = /** @type {HTMLSelectElement} */ (e.currentTarget);
const type = ProfileConditionsUI.normalizeProfileConditionType(element.value);
if (type === null) { return; }
- this._setType(type);
+ void this._setType(type);
}
/**
@@ -725,7 +725,7 @@ class ProfileConditionUI {
const type = ProfileConditionsUI.normalizeProfileConditionType(this._typeInput.value);
if (type === null) { return; }
const operator = element.value;
- this._setOperator(type, operator);
+ void this._setOperator(type, operator);
}
/**
@@ -740,7 +740,7 @@ class ProfileConditionUI {
if (okay) {
const normalizedValue = this._normalizeValue(value, normalize);
node.value = normalizedValue;
- this.settingsController.setGlobalSetting(this.getPath('value'), normalizedValue);
+ void this.settingsController.setGlobalSetting(this.getPath('value'), normalizedValue);
}
}
@@ -754,7 +754,7 @@ class ProfileConditionUI {
this._value = modifiers;
if (okay) {
const normalizedValue = this._normalizeValue(modifiers, normalize);
- this.settingsController.setGlobalSetting(this.getPath('value'), normalizedValue);
+ void this.settingsController.setGlobalSetting(this.getPath('value'), normalizedValue);
}
}
@@ -782,7 +782,7 @@ class ProfileConditionUI {
this._parent.removeSelf();
break;
case 'resetValue':
- this._resetValue();
+ void this._resetValue();
break;
}
}