mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Remove error
This commit is contained in:
parent
bbffba7cea
commit
f169891d66
1 changed files with 8 additions and 4 deletions
|
@ -1353,10 +1353,14 @@ function avideoModalIframeWithClassName(url, className, updateURL) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$('body > div.swal-overlay iframe').load(function () {
|
try {
|
||||||
clearTimout(avideoModalIframeWithClassNameTimeout);
|
$('body > div.swal-overlay iframe').load(function () {
|
||||||
avideoModalIframeRemove();
|
clearTimout(avideoModalIframeWithClassNameTimeout);
|
||||||
});
|
avideoModalIframeRemove();
|
||||||
|
});
|
||||||
|
} catch (e) {
|
||||||
|
|
||||||
|
}
|
||||||
avideoModalIframeWithClassNameTimeout = setTimeout(function () {
|
avideoModalIframeWithClassNameTimeout = setTimeout(function () {
|
||||||
// is not loaded
|
// is not loaded
|
||||||
url = addGetParam(url, 'avideoIframe', 0);
|
url = addGetParam(url, 'avideoIframe', 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue