all repos — honk @ 09701b00810d1a6910c63833d162dbe2d42ab3b2

my fork of honk

redo glow check. sometimes first one isn't visible
Ted Unangst tedu@tedunangst.com
Tue, 29 Oct 2019 17:56:21 -0400
commit

09701b00810d1a6910c63833d162dbe2d42ab3b2

parent

adc6190ceb2c7314f59d982e92c6e9f3f0f72dc7

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M web.goweb.go

@@ -899,8 +899,8 @@ }

rawhonks := gethonksbyconvoy(honk.UserID, honk.Convoy, 0) reversehonks(rawhonks) var honks []*Honk - for i, h := range rawhonks { - if i > 0 && h.XID == xid { + for _, h := range rawhonks { + if h.XID == xid && len(honks) != 0 { h.Style += " glow" } if h.Public && (h.Whofore == 2 || h.IsAcked()) {