fix same video not playing bug
This commit is contained in:
parent
79c3a88c12
commit
f281c300ba
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user