Forums: Only show poll on first page of a thread

This commit is contained in:
Noah Petherbridge 2023-11-24 12:26:17 -08:00
parent 587d940757
commit a58d6c4089

View File

@ -133,7 +133,7 @@
{{end}} {{end}}
<!-- Poll attachment? --> <!-- Poll attachment? -->
{{if and (eq $i 0) $Root.Thread.PollID}} {{if and (eq $Root.Pager.Page 1) (eq $i 0) $Root.Thread.PollID}}
<h2>Poll</h2> <h2>Poll</h2>
<!-- Get the results --> <!-- Get the results -->