mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update simpleping.js
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user