aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/profile-conditions-ui.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-23 21:37:22 -0400
committerGitHub <noreply@github.com>2020-10-23 21:37:22 -0400
commit4188adae28a95efc361f00873589beb138514f11 (patch)
tree0439efcf22e35b50fdd31d037831b17422cd85bc /ext/bg/js/settings/profile-conditions-ui.js
parent6422845bbb244697b2c8800bced8bb8ece6f1f5f (diff)
Rename index to profileIndex for clarity (#952)
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) {