From 11297efed50bfa34a462cf79599c500c33ec29e2 Mon Sep 17 00:00:00 2001 From: Vikhyat Korrapati Date: Wed, 16 Apr 2014 12:11:41 +0530 Subject: [PATCH] Get rid of unnecessary controller reference in poll template. --- .../javascripts/discourse/templates/poll.js.handlebars | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars index 360499b40f7..60061272b15 100644 --- a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars +++ b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars @@ -1,11 +1,11 @@ {{#each poll.options}} - +
+ + -
- {{{ option }}} -
+
{{{option}}}
{{#if controller.showResults}}
{{i18n poll.voteCount count=votes}}
{{/if}} @@ -24,7 +24,7 @@ {{/if}} -{{#if controller.showToggleClosePoll}} +{{#if showToggleClosePoll}}