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