git ssb

16+

cel / patchfoo



Commit 0adbe757e6376a04670c5b003f373e9f756fb369

Convert catchup into a button

cel committed on 4/21/2017, 3:01:43 AM
Parent: 5fafec89b671c52ef3bd59ccbef317c9bb4ccaea

Files changed

lib/serve.jschanged
lib/serve.jsView
@@ -1074,13 +1074,14 @@
10741074 cb(null, [
10751075 composer,
10761076 h('table.ssb-msgs',
10771077 thread,
1078- h('tr', h('td.paginate', {colspan: 3},
1079- h('a', {href: '?' + qs.stringify({
1080- gt: opts.gt,
1081- catchup: 1,
1082- })}, '↓ catchup')
1078 + h('tr', h('td.paginate.msg-left', {colspan: 3},
1079 + h('form', {method: 'get', action: ''},
1080 + h('input', {type: 'hidden', name: 'gt', value: opts.gt}),
1081 + h('input', {type: 'hidden', name: 'catchup', value: '1'}),
1082 + h('input', {type: 'submit', value: 'catchup'})
1083 + )
10831084 ))
10841085 )
10851086 ])
10861087 })

Built with git-ssb-web