From f91ffba2a4539a7e611593a35917c973a11ec2dd Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 26 Aug 2018 15:10:03 +0200 Subject: [PATCH] Display the number of responses for a choice on survey choices. --- assets/js/components/posts/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/posts/ui.js b/assets/js/components/posts/ui.js index 2d5d63a3..add7c4f0 100644 --- a/assets/js/components/posts/ui.js +++ b/assets/js/components/posts/ui.js @@ -684,7 +684,7 @@ ComunicWeb.components.posts.ui = { createElem2({ appendTo: lengendLi, type: "span", - innerHTML: " "+surveyData[i].label + innerHTML: " " + (surveyData[i].value > 0 ? "("+surveyData[i].value+") " : "") + surveyData[i].label }); }