diff options
-rw-r--r-- | lib/serve.js | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/serve.js b/lib/serve.js index e7d1695..754a67e 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -409,17 +409,10 @@ Serve.prototype.channels = function (ext) { self.app.streamChannels(), paramap(function (channel, cb) { var subscribed = false - cb(null, h('form', {method: 'post', action: ''}, - h('a', {href: self.app.render.toUrl('#' + channel)}, '#' + channel) - /* - ' ', - h('input', {type: 'hidden', name: 'action', value: 'channel'}), - h('input', {type: 'hidden', name: 'channel', value: channel}), - h('input', {type: 'hidden', name: 'subscribed', value: !subscribed}), - h('input', {type: 'submit', value: subscribed - ? 'unsubscribe' : 'subscribe'}) - */ - )) + cb(null, [ + h('a', {href: self.app.render.toUrl('#' + channel)}, '#' + channel), + ' ' + ]) }, 8), pull.map(u.toHTML), self.wrapChannels(), |