Fix spring-cloud-starter-hystrix-dashboard jquery3.4.1 usage error (#3816) (#3817)

This commit is contained in:
MadeInChina
2020-07-29 03:21:19 +08:00
committed by GitHub
parent 3bd44d69ca
commit 4bf57b9cd2

View File

@@ -107,8 +107,8 @@
}
}
console.log("Command Stream: " + commandStream)
$(window).load(function() { // within load with a setTimeout to prevent the infinite spinner
$(window).on("load", function () { // within load with a setTimeout to prevent the infinite spinner
setTimeout(function() {
if(commandStream == undefined) {
console.log("commandStream is undefined")
@@ -146,7 +146,7 @@
// thread pool
var dependencyThreadPoolMonitor = new HystrixThreadPoolMonitor('dependencyThreadPools');
$(window).load(function() { // within load with a setTimeout to prevent the infinite spinner
$(window).on("load", function () { // within load with a setTimeout to prevent the infinite spinner
setTimeout(function() {
if(poolStream == undefined) {
console.log("poolStream is undefined")