Skip to content

Commit 85c8408

Browse files
authored
Update serverstatus.js
fix a bug for ping time
1 parent cd9cf8e commit 85c8408

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

web/js/serverstatus.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,6 @@ function uptime() {
289289
var pingTime = result.servers[i].time_10010 + "ms💻" + result.servers[i].time_189 + "ms💻" + result.servers[i].time_10086 + "ms"
290290
if (PING_10010 >= 10 || PING_189 >= 10 || PING_10086 >= 10)
291291
TableRow.children["ping"].children[0].children[0].className = "progress-bar progress-bar-danger";
292-
TableRow.children["ping"].children[0].children[0].setAttribute("data-toggle", "tooltip");
293-
TableRow.children["ping"].children[0].children[0].setAttribute("data-placement", "right");
294-
TableRow.children["ping"].children[0].children[0].setAttribute("title", '0ms💻0ms💻0ms');
295292
else
296293
TableRow.children["ping"].children[0].children[0].className = "progress-bar progress-bar-success";
297294
TableRow.children["ping"].children[0].children[0].setAttribute("data-toggle", "tooltip");

0 commit comments

Comments
 (0)