Commit b39553f9cc66a675cc0573bf64b08ef39414ba3c
woops fix
mix irving committed on 6/6/2018, 10:58:09 AMParent: 0983372b6a7b3482979097afea8885f1b209a42f
Files changed
about/async/suggest.js | changed |
about/async/suggest.js | |||
---|---|---|---|
@@ -21,9 +21,9 @@ | |||
21 | 21 … | ||
22 | 22 … | return nest('about.async.suggest', suggestedProfile) | |
23 | 23 … | ||
24 | 24 … | function suggestedProfile (word, extraIds = [], cb) { | |
25 | - if (typeof extraIds === 'function') return suggestedProfile(word, [], extraIds) | ||
25 … | + if (cb === undefined) return suggestedProfile(word, [], extraIds) | ||
26 | 26 … | loadSuggestions() | |
27 | 27 … | if (word == null) return | |
28 | 28 … | ||
29 | 29 … | const moreSuggestions = buildSuggestions(extraIds) |
Built with git-ssb-web