1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-26 02:40:10 +00:00

update interval update and tooltip fixing

This commit is contained in:
gusaul 2019-04-02 16:24:26 +07:00
parent 37d525bcb8
commit 2244c3aac2

View File

@ -221,6 +221,8 @@ function updateCountNum() {
} }
function applyConnCount() { function applyConnCount() {
$('[data-toggle="tooltip"]').tooltip('hide');
$.ajax({ $.ajax({
url: "active/get", url: "active/get",
global: true, global: true,
@ -243,7 +245,7 @@ function applyConnCount() {
function refreshConnCount() { function refreshConnCount() {
applyConnCount(); applyConnCount();
setTimeout(refreshConnCount, 5000); setTimeout(refreshConnCount, 10000);
} }
function refreshToolTip() { function refreshToolTip() {