Sha256: 305b73c3084332d8433dc00dd075a61526cb50bdfaa62248c22d9d2010d43294
Contents?: true
Size: 598 Bytes
Versions: 45
Compression:
Stored size: 598 Bytes
Contents
//= require tramway/core/application //= require_tree . $(document).ready(function() { $('.header-buttons').click(function() { const anchor = $(this).data('anchor'); $(window).scrollTop($(anchor).offset().top); }); const iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]', 'iframe[src*="youtube.com"]']; for (const selector in iframe_selectors_for_video) { $(selector).each(function() { width = $(this).parents('div').first().width(); height = width / 16 * 9; $(this).width(width); $(this).height(height); }); } });
Version data entries
45 entries across 45 versions & 1 rubygems