diff --git a/spring-cloud-netflix-hystrix-dashboard/src/main/resources/templates/hystrix/monitor.ftlh b/spring-cloud-netflix-hystrix-dashboard/src/main/resources/templates/hystrix/monitor.ftlh index 36b67a640..9f684fbb2 100644 --- a/spring-cloud-netflix-hystrix-dashboard/src/main/resources/templates/hystrix/monitor.ftlh +++ b/spring-cloud-netflix-hystrix-dashboard/src/main/resources/templates/hystrix/monitor.ftlh @@ -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")