Sha256: 0f158f82defed41cc3153c88b51ae3e33582d414a75b1b4ab3975c0be2ece623
Contents?: true
Size: 602 Bytes
Versions: 13
Compression:
Stored size: 602 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"]']; 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
13 entries across 13 versions & 1 rubygems