aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/templates/common.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html
index 286bec8..dfbd934 100644
--- a/apioforum/templates/common.html
+++ b/apioforum/templates/common.html
@@ -87,7 +87,7 @@
{% else %}
{% for opt in poll.options %}
{% set opt_count = opt.num or 0 %}
- {% set colour = (loop.count|string + opt.text)|gen_colour %}
+ {% set colour = (loop.index|string + opt.text)|gen_colour %}
{% if opt_count != 0 %}
{% set percentage = 100*(opt_count/total_votes) %}
{# todo: do this in css somehow #}