.each weirdness

This commit is contained in:
Sanj 2012-05-15 03:12:00 +05:30
parent 7f51b19f89
commit ff4a28b8b2

View File

@ -250,7 +250,9 @@
(function() {
var $video;
$('.padmaVideo').hide();
$('.padmaVideo').pandoravideo();
$('.padmaVideo').each(function() {
$(this).pandoravideo();
});
$('a.padmaLink').toggle(function() {
var index = $(this).index('.padmaLink');
var $video = $('.padmaVideo').eq(index);