dyndns, rfc2136, change document ready() to window.load()

This commit is contained in:
Ad Schellevis
2018-01-26 08:33:09 +01:00
parent 84aa1ae766
commit f010353d3e
2 changed files with 2 additions and 2 deletions
@@ -157,7 +157,7 @@ if (!empty($_REQUEST['getdyndnsstatus'])) {
jQuery(divlabel).prop('innerHTML',responseStrings[count]);
}
}
$( document ).ready(function() {
$(window).load(function() {
// Do the first status check 2 seconds after the dashboard opens
setTimeout('dyndns_getstatus()', 2000);
});
@@ -157,7 +157,7 @@ if (!empty($_REQUEST['getrfc2136status'])) {
jQuery(divlabel).prop('innerHTML',responseStrings[count]);
}
}
$( document ).ready(function() {
$(window).load(function() {
// Do the first status check 2 seconds after the dashboard opens
setTimeout('rfc2136_getstatus()', 2000);
});