aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/main.js')
-rw-r--r--public/javascripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/main.js b/public/javascripts/main.js
index f311e17..0235bf6 100644
--- a/public/javascripts/main.js
+++ b/public/javascripts/main.js
@@ -38,7 +38,7 @@ getUsers().then(function (users) {
results = fuzzy.filter(inputNode.value, users, {
pre: '<strong>',
post: '</strong>',
- extract: el => el.value
+ extract: function (el) { return el.value }
}).slice(0, 7)
matches = results.map(function (el) { return el.string })