collapse the danger honks by default when logged out
This commit is contained in:
parent
b6efa7d4bd
commit
ed13b68989
6
hfcs.go
6
hfcs.go
|
@ -407,6 +407,12 @@ func unsee(honks []*Honk, userid int64) {
|
|||
h.Open = ""
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for _, h := range honks {
|
||||
if h.Precis != "" {
|
||||
h.Open = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ in reply to: <a href="{{ .RID }}" rel=noreferrer>{{ .RID }}</a>
|
|||
</header>
|
||||
<p>
|
||||
<details class="noise" {{ .Open }} >
|
||||
<summary>{{ .HTPrecis }}</summary>
|
||||
<summary>{{ .HTPrecis }}<p></summary>
|
||||
<p>{{ .HTPrecis }}
|
||||
<p class="content">{{ .HTML }}
|
||||
{{ with .Time }}
|
||||
|
|
Loading…
Reference in New Issue