Update simpleping.js

This commit is contained in:
Mr Chen
2024-07-11 04:18:29 +08:00
parent 9db5188d30
commit 437088663e
+6 -4
View File
@@ -172,10 +172,12 @@ function pingDataGraphData(day){
chartPingData = data.data;
pingDataGraphRender();
clearInterval(posTimer);
posTimer = setInterval(function() {
pingDataGraphPosData();
}, 2000);
if (day!=1){
clearInterval(posTimer);
posTimer = setInterval(function() {
pingDataGraphPosData();
}, 2000);
}
});
}