From 8f9736a7413ad0b0d0babcf520831caf861d824a Mon Sep 17 00:00:00 2001 From: Jannik Streek Date: Thu, 27 Mar 2014 09:46:32 +0100 Subject: [PATCH] fixed poll js bug --- app/assets/javascripts/app/views/poll.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/views/poll.js b/app/assets/javascripts/app/views/poll.js index b16fd8706..cc0ca18d3 100644 --- a/app/assets/javascripts/app/views/poll.js +++ b/app/assets/javascripts/app/views/poll.js @@ -48,9 +48,8 @@ app.views.Poll = app.views.Base.extend({ this.toggleMode = 1; }else{ this.$('.toggle_result').html(Diaspora.I18n.t("poll.show_result")); - this.toggleStringMode = 0; + this.toggleMode = 0; } - return false; },