git ssb

0+

Daan Patchwork / ssb-viewer



forked from cel / ssb-viewer

Commit f09e7259ef382ed0b8862e0631cc1f157bbc101a

Tidy

Anders Rune Jensen committed on 1/11/2018, 11:12:03 PM
Parent: 2c291337776846d8c4edf05609c74fac530254e6

Files changed

render.jschanged
render.jsView
@@ -120,9 +120,8 @@
120120 wrap(toolTipTop() + '<main>', '</main>' + callToAction())
121121 );
122122 }
123123
124- opts.mentions = {};
125124 var figCaption = h('figcaption');
126125 figCaption.innerHTML = 'Feed of ' + about.name + '<br>' + marked(String(about.description || ''), opts.marked);
127126 return pull(
128127 pull.map(renderMsg.bind(this, opts, '')),
@@ -530,9 +529,7 @@
530529 return h('pre', JSON.stringify(c, 0, 2));
531530 }
532531
533532 function renderShowAll(showAll, url) {
534- if (showAll)
535- return '';
536- else
533+ if (!showAll)
537534 return '<br>' + h('a', { href : url + '?showAll' }, 'Show whole feed').outerHTML;
538535 }

Built with git-ssb-web