Commit 2e16f9c6 authored by Isaque Melo's avatar Isaque Melo

corrige widget de videos

parent a1d6bb9a
......@@ -6,7 +6,7 @@
$thumbs.on('click', function(e){
e.preventDefault();
$iframe = $(this).parents().parents().siblings().children('.js-featured-videos--iframe');
$iframe = $(this).parent().parent().parent().find('iframe');
$iframe.attr('src', url + $(this).data('videoId')+'?autoplay=1');
$thumbs.removeClass('active');
$(this).addClass('active');
......
File mode changed from 100644 to 100755
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment