diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-06-03 18:37:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-06-03 18:37:12 -0400 |
commit | abebd9262957895a20c96fb83c322b7f5988a4ec (patch) | |
tree | e759364fe9acf7466c8e5f8bca872ffaad272502 /assets/js/components | |
parent | 6b9b9d2d1c27600969388ad10d749bb6febc92b6 (diff) |
Use dot notation in Javascript component
Diffstat (limited to 'assets/js/components')
-rw-r--r-- | assets/js/components/autocomplete-email.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/components/autocomplete-email.js b/assets/js/components/autocomplete-email.js index 4a12a2fe..9d337e03 100644 --- a/assets/js/components/autocomplete-email.js +++ b/assets/js/components/autocomplete-email.js @@ -6,7 +6,7 @@ KB.onClick('.js-autocomplete-email', function (e) { emailField.build().value = email; } - _KB.controllers['Dropdown'].close(); + _KB.controllers.Dropdown.close(); }); KB.onClick('.js-autocomplete-subject', function (e) { @@ -17,5 +17,5 @@ KB.onClick('.js-autocomplete-subject', function (e) { subjectField.build().value = subject; } - _KB.controllers['Dropdown'].close(); + _KB.controllers.Dropdown.close(); }); |