git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit bcadbcc3325b20b2d11e736b46940303044e756c

fix display of missing public posts on first load

Matt McKegg committed on 3/18/2017, 3:23:20 AM
Parent: ae972c06ea2dc5ba6fb1fb1d8543821cfc180ab3

Files changed

modules/feed/html/rollup.jschanged
modules/page/html/render/public.jschanged
modules/feed/html/rollup.jsView
@@ -66,11 +66,10 @@
6666 content
6767 ])
6868 ])
6969
70- setTimeout(refresh, 10)
71-
7270 onceTrue(waitFor, () => {
71+ refresh()
7372 pull(
7473 getStream({old: false}),
7574 pull.drain((item) => {
7675 var type = item && item.value && item.value.content.type
modules/page/html/render/public.jsView
@@ -67,9 +67,9 @@
6767 ]
6868
6969 var feedView = api.feed.html.rollup(getFeed, {
7070 prepend,
71- waitUntil: computed([
71+ waitFor: computed([
7272 following.sync,
7373 subscribedChannels.sync
7474 ], (...x) => x.every(Boolean)),
7575 windowSize: 500,

Built with git-ssb-web