mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +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 () {
|
||||
$('body > div.swal-overlay iframe').load(function () {
|
||||
clearTimout(avideoModalIframeWithClassNameTimeout);
|
||||
avideoModalIframeRemove();
|
||||
});
|
||||
try {
|
||||
$('body > div.swal-overlay iframe').load(function () {
|
||||
clearTimout(avideoModalIframeWithClassNameTimeout);
|
||||
avideoModalIframeRemove();
|
||||
});
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
avideoModalIframeWithClassNameTimeout = setTimeout(function () {
|
||||
// is not loaded
|
||||
url = addGetParam(url, 'avideoIframe', 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue