Sha256: b1c3889cd6db78461ec7ea7a379effbe4b910755726af34a702bafb2e420d126

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

(function () {
  'use strict';

  var voteButton = $('#question-<%= current_question.id %>-vote-button');
  voteButton.html('<%= j(render partial: "decidim/consultations/questions/vote_button", locals: { question: current_question }) %>');

  $('#question-vote-modal').foundation();
  $('#question-vote-confirm-modal').foundation();
}());

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-consultations-0.11.2 app/views/decidim/consultations/question_votes/update_vote_button.js.erb
decidim-consultations-0.11.1 app/views/decidim/consultations/question_votes/update_vote_button.js.erb
decidim-consultations-0.11.0.pre1 app/views/decidim/consultations/question_votes/update_vote_button.js.erb