summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/profile-conditions-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings/profile-conditions-ui.js')
-rw-r--r--ext/bg/js/settings/profile-conditions-ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/profile-conditions-ui.js b/ext/bg/js/settings/profile-conditions-ui.js
index 9438a0ec..4494e51a 100644
--- a/ext/bg/js/settings/profile-conditions-ui.js
+++ b/ext/bg/js/settings/profile-conditions-ui.js
@@ -75,7 +75,7 @@ class ProfileConditionsUI {
return this._settingsController;
}
- get index() {
+ get profileIndex() {
return this._settingsController.profileIndex;
}
@@ -202,7 +202,7 @@ class ProfileConditionsUI {
getPath(property) {
property = (typeof property === 'string' ? `.${property}` : '');
- return `profiles[${this.index}]${property}`;
+ return `profiles[${this.profileIndex}]${property}`;
}
createKeyboardMouseInputField(inputNode, mouseButton) {