Sha256: 98a788451fe46cc8d408133b18c56fdfb1b0b46c7c515bea4a35f55d69a620b6

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

Spotlight.onLoad(function() {
  $("#another-email").on("click", function() {
    container = $(this).parent().parent();
    input = container.find('.input-group input[type="text"]').first().clone();
    input.val('');
    input.attr('id', input.attr('id').replace('0', container.find('input[type="text"]').length));
    input.attr('name', input.attr('name').replace('0', container.find('input[type="text"]').length));
    input.insertBefore(container.find('.help-block'));
  });

  $('.btn-with-tooltip').tooltip();
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.0.3 app/assets/javascripts/spotlight/exhibits.js