mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
Merge pull request #1578 from waskosky/master
Allow full screen iframed elements in modal
This commit is contained in:
@@ -439,7 +439,7 @@ $(document).ready(function()
|
||||
height = $(this).attr('data-modal-height');
|
||||
}
|
||||
|
||||
$('.modal-body').html('<div><iframe id="e-modal-iframe" width="100%" height="'+height+'px" frameborder="0" scrolling="auto" style="display:block;" allowtransparency="true" src="' + url + '"></iframe></div>');
|
||||
$('.modal-body').html('<div><iframe id="e-modal-iframe" width="100%" height="'+height+'px" frameborder="0" scrolling="auto" style="display:block;" allowtransparency="true" allowfullscreen src="' + url + '"></iframe></div>');
|
||||
$('.modal-caption').html(caption + ' <i id="e-modal-loading" class="fa fa-spin fa-spinner"></i>');
|
||||
$('.modal').modal(modalOptions);
|
||||
|
||||
|
Reference in New Issue
Block a user