mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Missing functions
This commit is contained in:
parent
06273135e8
commit
0826de71b7
7 changed files with 76 additions and 33 deletions
|
@ -1030,7 +1030,16 @@ function avideoModalIframeWithClassName(url, className) {
|
|||
}
|
||||
|
||||
function avideoModalIframeIsVisible() {
|
||||
if ($('.swal-modal-iframe').parent().hasClass('swal-overlay--show-modal')) {
|
||||
var modal = '';
|
||||
if($('.swal-modal-iframe-small').length){
|
||||
modal = $('.swal-modal-iframe-small');
|
||||
}else if($('.swal-modal-iframe-large').length){
|
||||
modal = $('.swal-modal-iframe-large');
|
||||
}else{
|
||||
modal = $('.swal-modal-iframe');
|
||||
}
|
||||
|
||||
if (modal.parent().hasClass('swal-overlay--show-modal')) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue