mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dyndns, rfc2136, change document ready() to window.load()
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user