git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 2275ef9b617f2f59954bbd3007e579f19adc48cb

hack around update count bug

Matt McKegg committed on 9/14/2017, 2:34:15 AM
Parent: 47e5833716a004d601ae95e3bc627869a87b8bd6

Files changed

modules/feed/html/rollup.jschanged
modules/feed/html/rollup.jsView
@@ -97,9 +97,9 @@
9797
9898 if (updates() === 0 && msg.value.author === yourId && container.scrollTop < 20) {
9999 refresh()
100100 } else {
101- updates.set(updates() + 1)
101+ updates.set(newSinceRefresh.size)
102102 }
103103 })
104104 )
105105 })

Built with git-ssb-web