Commit 0adbe757e6376a04670c5b003f373e9f756fb369
Convert catchup into a button
cel committed on 4/21/2017, 3:01:43 AMParent: 5fafec89b671c52ef3bd59ccbef317c9bb4ccaea
Files changed
lib/serve.js | changed |
lib/serve.js | |||
---|---|---|---|
@@ -1074,13 +1074,14 @@ | |||
1074 | 1074 … | cb(null, [ | |
1075 | 1075 … | composer, | |
1076 | 1076 … | h('table.ssb-msgs', | |
1077 | 1077 … | 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 … | + ) | ||
1083 | 1084 … | )) | |
1084 | 1085 … | ) | |
1085 | 1086 … | ]) | |
1086 | 1087 … | }) |
Built with git-ssb-web