Sha256: 9634a71d7217b213a76fb6f53b46dbb8c1fb17066d9a663bdc6cb3655e9a7c54

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
$(document).on("ready page:load", function() {
  init();
});


function init() {
  $("#lists-wrapper").on("click", ".list .title", function() {
    $(this).next().toggle();
  });

  $("#lists-wrapper").on("click", ".list .update-modal .close", function() {
    $(".update-modal").hide();
  });
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailgun_list_manager-0.0.3 app/assets/javascripts/mailgun_list_manager/pages.js
mailgun_list_manager-0.0.2 app/assets/javascripts/mailgun_list_manager/pages.js
mailgun_list_manager-0.0.1 app/assets/javascripts/mailgun_list_manager/pages.js