diff options
Diffstat (limited to 'ext/bg/js/profile-conditions.js')
| -rw-r--r-- | ext/bg/js/profile-conditions.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/ext/bg/js/profile-conditions.js b/ext/bg/js/profile-conditions.js index c0f5d3f5..32309c64 100644 --- a/ext/bg/js/profile-conditions.js +++ b/ext/bg/js/profile-conditions.js @@ -128,9 +128,9 @@ const profileConditionsDescriptor = {              are: {                  name: 'are',                  placeholder: 'Press one or more modifier keys here', -                defaultValue: '', +                defaultValue: [],                  type: 'keyMulti', -                transform: (optionValue) => optionValue +                transformInput: (optionValue) => optionValue                      .split(' + ')                      .filter((v) => v.length > 0)                      .map((v) => _profileModifierNameToValue.get(v)), @@ -142,9 +142,9 @@ const profileConditionsDescriptor = {              areNot: {                  name: 'are not',                  placeholder: 'Press one or more modifier keys here', -                defaultValue: '', +                defaultValue: [],                  type: 'keyMulti', -                transform: (optionValue) => optionValue +                transformInput: (optionValue) => optionValue                      .split(' + ')                      .filter((v) => v.length > 0)                      .map((v) => _profileModifierNameToValue.get(v)), |