.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() { (function() {
var $video; var $video;
$('.padmaVideo').hide(); $('.padmaVideo').hide();
$('.padmaVideo').pandoravideo(); $('.padmaVideo').each(function() {
$(this).pandoravideo();
});
$('a.padmaLink').toggle(function() { $('a.padmaLink').toggle(function() {
var index = $(this).index('.padmaLink'); var index = $(this).index('.padmaLink');
var $video = $('.padmaVideo').eq(index); var $video = $('.padmaVideo').eq(index);