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(); // sidebarAnimateIn();
e.preventDefault(); e.preventDefault();
var currentVideo = padmaContainer.data("currentVideo"); var currentVideo = padmaContainer.data("currentVideo");
if (currentVideo == videoObj) {
/* if ($(this).hasClass("nowPlaying")) {
if (!isSidebarVisible()) {
sidebarAnimateIn();
}
*/
return; return;
} }
if (currentVideo) { if (currentVideo) {
cleanupVideo(currentVideo); cleanupVideo(currentVideo);
} }