mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
fix iframe
This commit is contained in:
parent
bd13ebf904
commit
2722a732e2
1 changed files with 2 additions and 1 deletions
|
@ -1365,11 +1365,12 @@ function avideoModalIframeWithClassName(url, className, updateURL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($('#avideoModalIframe').contents().find("body").length){
|
if($('#avideoModalIframe').contents().find("body").length){
|
||||||
|
console.log('avideoModalIframeWithClassName content loaded 2');
|
||||||
contentLoaded = true;
|
contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(contentLoaded){
|
if(contentLoaded){
|
||||||
console.log('avideoModalIframeWithClassName content loaded 2');
|
console.log('avideoModalIframeWithClassName content loaded 3');
|
||||||
clearTimeout(avideoModalIframeWithClassNameTimeout);
|
clearTimeout(avideoModalIframeWithClassNameTimeout);
|
||||||
avideoModalIframeRemove();
|
avideoModalIframeRemove();
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue