fix same video not playing bug

This commit is contained in:
Sanj 2011-02-23 15:40:15 +01:00
parent 79c3a88c12
commit f281c300ba

View File

@ -69,14 +69,11 @@ function setupPadmaLink(videoObj, data) {
// sidebarAnimateIn();
e.preventDefault();
var currentVideo = padmaContainer.data("currentVideo");
if (currentVideo == videoObj) {
/*
if (!isSidebarVisible()) {
sidebarAnimateIn();
}
*/
if ($(this).hasClass("nowPlaying")) {
return;
}
if (currentVideo) {
cleanupVideo(currentVideo);
}