Sha256: d538e4714be9a2a467ce494468a9fa0d6cdf606dbe623dbde3ea2239c0417c67
Contents?: true
Size: 898 Bytes
Versions: 9
Compression:
Stored size: 898 Bytes
Contents
I"v(function() { $(function() { var createPopover, initializePopover; initializePopover = function(element) { var jqxhr, url; url = $(element).data('url'); return jqxhr = $.get(url, (function(_this) { return function(data) { createPopover(element, data); }; })(this)).done(function() {}).fail(function() {}).always(function() {}); }; createPopover = function(element, data) { var popover; popover = $(element).popover({ sanitize: false, content: data, html: true, trigger: 'click' }); }; initializePopover('#cmor-contact-whatsapp-popover-button'); return $(document).on('keypress', 'textarea', function(e) { if (e.which === 13 && !e.shiftKey) { $(this).closest('form').submit(); e.preventDefault(); } }); }); }).call(this); :ET
Version data entries
9 entries across 9 versions & 1 rubygems