Commit f09e7259ef382ed0b8862e0631cc1f157bbc101a
Tidy
Anders Rune Jensen committed on 1/11/2018, 11:12:03 PMParent: 2c291337776846d8c4edf05609c74fac530254e6
Files changed
render.js | changed |
render.js | |||
---|---|---|---|
@@ -120,9 +120,8 @@ | |||
120 | 120 … | wrap(toolTipTop() + '<main>', '</main>' + callToAction()) | |
121 | 121 … | ); | |
122 | 122 … | } | |
123 | 123 … | ||
124 | - opts.mentions = {}; | ||
125 | 124 … | var figCaption = h('figcaption'); | |
126 | 125 … | figCaption.innerHTML = 'Feed of ' + about.name + '<br>' + marked(String(about.description || ''), opts.marked); | |
127 | 126 … | return pull( | |
128 | 127 … | pull.map(renderMsg.bind(this, opts, '')), | |
@@ -530,9 +529,7 @@ | |||
530 | 529 … | return h('pre', JSON.stringify(c, 0, 2)); | |
531 | 530 … | } | |
532 | 531 … | ||
533 | 532 … | function renderShowAll(showAll, url) { | |
534 | - if (showAll) | ||
535 | - return ''; | ||
536 | - else | ||
533 … | + if (!showAll) | ||
537 | 534 … | return '<br>' + h('a', { href : url + '?showAll' }, 'Show whole feed').outerHTML; | |
538 | 535 … | } |
Built with git-ssb-web