Sha256: edcb11c4bd06ff6ec87283f56d999672371cd0fae84a04429d1bafbcf5cf3a3a
Contents?: true
Size: 597 Bytes
Versions: 5
Compression:
Stored size: 597 Bytes
Contents
//= require tramway/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"]']; iframe_selectors_for_video.forEach(function(selector) { $(selector).each(function() { width = $(this).parents('div').first().width(); height = width / 16 * 9; $(this).width(width); $(this).height(height); }); }) });
Version data entries
5 entries across 5 versions & 1 rubygems