Commit c3bad31f482772bb2f1cb0a4e5b4f99071a9a625
fix subscribe button on channels view
Matt McKegg committed on 10/31/2016, 9:57:23 PMParent: e9821d32fb6ff15378e16ebab78b3dc2eee3129d
Files changed
modules/channel.js | changed |
modules/channel.js | ||
---|---|---|
@@ -35,13 +35,13 @@ | ||
35 | 35 | when(subscribedChannels.has(channel), |
36 | 36 | h('a -unsubscribe', { |
37 | 37 | 'href': '#', |
38 | 38 | 'title': 'Click to unsubscribe', |
39 | - 'ev-click': send(unsubscribe, channel.id) | |
39 | + 'ev-click': send(unsubscribe, channel) | |
40 | 40 | }, 'Subscribed'), |
41 | 41 | h('a -subscribe', { |
42 | 42 | 'href': '#', |
43 | - 'ev-click': send(subscribe, channel.id) | |
43 | + 'ev-click': send(subscribe, channel) | |
44 | 44 | }, 'Subscribe') |
45 | 45 | ) |
46 | 46 | ]) |
47 | 47 | ]), |
Built with git-ssb-web