{I" class:ETI"BundledAsset;FI"logical_path;TI""spotlight/report_a_problem.js;FI" pathname;TI"^/Users/cabeer/Projects/sul/spotlight/app/assets/javascripts/spotlight/report_a_problem.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+;ØFTI" length;TimI" digest;TI"%900d564131075cfed31a50350080d045;FI" source;TI"m(function( $ ){ $.fn.reportProblem = function( options ) { // Create some defaults, extending them with any options that were provided var settings = $.extend( { }, options); var container, target, cancel; function init() { target_val = container.attr('data-target') if (!target_val) return target = $("#" + target_val); container.on('click', open); target.find('[data-behavior="cancel-link"]').on('click', close); } function open(event) { event.preventDefault(); target.slideToggle('slow'); } function close(event) { event.preventDefault(); target.slideUp('fast'); } return this.each(function() { container = $(this); init(); }); } })( jQuery ); Spotlight.onLoad(function() { $('[data-behavior="contact-link"]').reportProblem(); }); ;TI"required_assets_digest;TI"%c9bec3f39fd025cea3b3ec9fd5389059;FI" _version;TI"%64e62ddc273c2f5847f30d698ca14b67;F