From 0adbe757e6376a04670c5b003f373e9f756fb369 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 20 Apr 2017 18:43:48 -0700 Subject: Convert catchup into a button --- lib/serve.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') 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'}) + ) )) ) ]) -- cgit v1.2.3