git ssb

16+

Dominic / patchbay



Commit 8199616e9406d34349c48b6a0a48bfef05dedbdc

Fix error in suggest-mentions

cel committed on 1/22/2017, 10:05:47 PM
Parent: 8461f5116e38210324ed4dfd92a4b8fae57407d9

Files changed

modules_core/suggest-mentions.jschanged
modules_core/suggest-mentions.jsView
@@ -54,9 +54,9 @@
5454
5555 } else if(/^\//.test(query)) {
5656 var tabs = [].concat.apply([], api.builtin_tabs())
5757 cb(null, tabs.filter(function (name) {
58- return name.substr(0, query.length) === query
58 + return name && name.substr(0, query.length) === query
5959 }).map(function (name) {
6060 return {
6161 title: name,
6262 value: name,

Built with git-ssb-web