diff options
Diffstat (limited to 'config/openbgpd')
-rw-r--r-- | config/openbgpd/openbgpd_status.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php index 7e2c5535..68836b21 100644 --- a/config/openbgpd/openbgpd_status.php +++ b/config/openbgpd/openbgpd_status.php @@ -236,10 +236,10 @@ function execCmds() { ?> } -if (jQuery) - jQuery(document).ready(function(){setTimeout('exec_all_cmds()', 5000);}); -else +if (typeof jQuery == 'undefined') document.observe('dom:loaded', function(){setTimeout('exec_all_cmds()', 5000);}); +else + jQuery(document).ready(function(){setTimeout('exec_all_cmds()', 5000);}); //]]> </script> |