mirror of
https://github.com/silverstripe/silverstripe-iframe
synced 2024-10-22 11:05:51 +02:00
Update load event registration
This commit is contained in:
parent
c4ebf0ad60
commit
e551026cad
@ -10,7 +10,7 @@ if (typeof jQuery!=='undefined') {
|
|||||||
loading.show();
|
loading.show();
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$( window ).load(function() {
|
$( window ).on('load', function() {
|
||||||
// Iframe content has been loaded
|
// Iframe content has been loaded
|
||||||
loading.hide();
|
loading.hide();
|
||||||
iframe.show();
|
iframe.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user