aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/main.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-05 16:29:30 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-05 16:29:30 +0200
commit0bf0cddc5c6c8bce34a9df1e376759eb5773d16b (patch)
treefbd447fc33ecb31a7234514821cf345624ee78c2 /public/javascripts/main.js
parent8e4c9d666672e415957ae8b99e7ab400342f8b98 (diff)
I think I actualy did safari this time
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 })