Commit a57d294d9379c382e44e72a14e760b7064123545
channel autocomplete: don't turn into markdown
Matt McKegg committed on 6/26/2017, 3:53:50 AMParent: 97c12b3fb9bca355d2f95010e9d57493c203e138
Files changed
modules/channel/obs/suggest.js | changed |
modules/channel/obs/suggest.js | ||
---|---|---|
@@ -50,9 +50,9 @@ | ||
50 | 50 | return Struct({ |
51 | 51 | title: id, |
52 | 52 | id: `#${id}`, |
53 | 53 | subtitle: computed([id, subscribed], subscribedCaption), |
54 | - value: computed([id], mention) | |
54 | + value: `#${id}` | |
55 | 55 | }) |
56 | 56 | } |
57 | 57 | } |
58 | 58 | |
@@ -60,8 +60,4 @@ | ||
60 | 60 | if (subscribed.has(id)) { |
61 | 61 | return 'subscribed' |
62 | 62 | } |
63 | 63 | } |
64 | - | |
65 | -function mention (id) { | |
66 | - return `[#${id}](#${id})` | |
67 | -} |
Built with git-ssb-web