Sha256: 9f7abe5cd5d45f79004a22373e006966a8002743365b6a80e8e6c92abe96296d
Contents?: true
Size: 704 Bytes
Versions: 8
Compression:
Stored size: 704 Bytes
Contents
javascript: function iFrameLoad(id){ var resize = function(id) { var el = document.getElementById(id), w = jQuery(el.parentNode).innerWidth(), h = el.contentWindow.document.body.scrollHeight; el.height = (h) + "px"; el.width = (w) + "px"; }; document.getElementById('loading-el').style.display = 'none'; setTimeout(function() { resize(id) }); } pre#loading-el.lead #{icon 'spinner', 'spin'} Loading... iframe#src-iframe[src=rails_email_preview.raw_email_url(params.slice(:mail_class, :mail_action, :part_type).merge(email_locale: @email_locale)) width="100%" height=1 onLoad="iFrameLoad('src-iframe')" style="border:none;padding:0;margin:0"]
Version data entries
8 entries across 8 versions & 1 rubygems