aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js
index c2ac2ee..7c4350b 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -922,7 +922,7 @@ Serve.prototype.composer = function (opts, cb) {
msgContainer.appendChild(el)
}, cb)
)
- return h('form', {method: 'post', action: '#reply'},
+ return [
h('input', {type: 'hidden', name: 'content',
value: JSON.stringify(content)}),
h('div', h('em', 'draft:')),
@@ -930,7 +930,7 @@ Serve.prototype.composer = function (opts, cb) {
h('div.composer-actions',
h('input', {type: 'submit', name: 'action', value: 'publish'})
)
- )
+ ]
}
function publish(cb) {