summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorguillaume <guillaume.cassou@orange.fr>2019-04-19 16:39:14 +0200
committerguillaume <guillaume.cassou@orange.fr>2019-04-19 16:39:14 +0200
commite63eee0c68d35a155da79f31ab18ddc5a76bde13 (patch)
tree125fc601ca2f54d43cca8b52de896b4d46a55bda /client
parent070feb4b664cf84613fed378d568a9449c3780e6 (diff)
downloadwekan-e63eee0c68d35a155da79f31ab18ddc5a76bde13.tar.gz
wekan-e63eee0c68d35a155da79f31ab18ddc5a76bde13.tar.bz2
wekan-e63eee0c68d35a155da79f31ab18ddc5a76bde13.zip
fix lints
Diffstat (limited to 'client')
-rw-r--r--client/components/settings/peopleBody.js15
1 files changed, 7 insertions, 8 deletions
diff --git a/client/components/settings/peopleBody.js b/client/components/settings/peopleBody.js
index db7be138..3ec96bb0 100644
--- a/client/components/settings/peopleBody.js
+++ b/client/components/settings/peopleBody.js
@@ -30,17 +30,17 @@ BlazeComponent.extendComponent({
},
events() {
return [{
- 'click #searchButton'(event) {
- this.filterPeople(event);
+ 'click #searchButton'() {
+ this.filterPeople();
},
'keydown #searchInput'(event) {
if (event.keyCode === 13 && !event.shiftKey) {
- this.filterPeople(event);
+ this.filterPeople();
}
- }
+ },
}];
},
- filterPeople(event) {
+ filterPeople() {
const value = $('#searchInput').first().val();
if (value === '') {
this.findUsersOptions.set({});
@@ -51,7 +51,7 @@ BlazeComponent.extendComponent({
{ username: regex },
{ 'profile.fullname': regex },
{ 'emails.address': regex },
- ]
+ ],
});
}
},
@@ -86,8 +86,7 @@ BlazeComponent.extendComponent({
},
peopleNumber() {
return this.number.get();
- }
-
+ },
}).register('people');
Template.peopleRow.helpers({