jQuery compatibility fixes

This commit is contained in:
Ad Schellevis
2019-12-14 19:25:24 +01:00
parent 1b3f740675
commit a2d302c5d5
3 changed files with 3 additions and 3 deletions
@@ -156,7 +156,7 @@ if (!empty($_REQUEST['getdyndnsstatus'])) {
jQuery(divlabel).prop('innerHTML',responseStrings[count]);
}
}
$(window).load(function() {
$(window).on("load", function() {
// Do the first status check 2 seconds after the dashboard opens
setTimeout('dyndns_getstatus()', 2000);
});
@@ -149,7 +149,7 @@ if (!empty($_REQUEST['getrfc2136status'])) {
jQuery(divlabel).prop('innerHTML',responseStrings[count]);
}
}
$(window).load(function() {
$(window).on("load", function() {
// Do the first status check 2 seconds after the dashboard opens
setTimeout('rfc2136_getstatus()', 2000);
});
@@ -36,7 +36,7 @@
</style>
<script src="/ui/js/moment-with-locales.min.js"></script>
<script>
$(window).load(function() {
$(window).on("load", function() {
ajaxGet("/api/diagnostics/proofpoint_et/status", {}, function(data){
$("#proofpoint_status").removeClass("fa-spin");
$("#proofpoint_status").removeClass("fa-spinner");