aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-20 18:43:48 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-20 20:01:43 -0700
commit0adbe757e6376a04670c5b003f373e9f756fb369 (patch)
tree698d024f74d03ae493a2ce7367d583b602020f28
parent5fafec89b671c52ef3bd59ccbef317c9bb4ccaea (diff)
downloadpatchfoo-0adbe757e6376a04670c5b003f373e9f756fb369.tar.gz
patchfoo-0adbe757e6376a04670c5b003f373e9f756fb369.zip
Convert catchup into a button
-rw-r--r--lib/serve.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/serve.js b/lib/serve.js
index d63be2f..05659e4 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1075,11 +1075,12 @@ Serve.prototype.wrapNew = function (opts) {
composer,
h('table.ssb-msgs',
thread,
- h('tr', h('td.paginate', {colspan: 3},
- h('a', {href: '?' + qs.stringify({
- gt: opts.gt,
- catchup: 1,
- })}, '↓ catchup')
+ h('tr', h('td.paginate.msg-left', {colspan: 3},
+ h('form', {method: 'get', action: ''},
+ h('input', {type: 'hidden', name: 'gt', value: opts.gt}),
+ h('input', {type: 'hidden', name: 'catchup', value: '1'}),
+ h('input', {type: 'submit', value: 'catchup'})
+ )
))
)
])