From 2244c3aac29b12cbfd1ffbcdbece0d4cffb74a58 Mon Sep 17 00:00:00 2001 From: gusaul Date: Tue, 2 Apr 2019 16:24:26 +0700 Subject: [PATCH] update interval update and tooltip fixing --- index/js/style.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index/js/style.js b/index/js/style.js index e9363e6..eb04372 100644 --- a/index/js/style.js +++ b/index/js/style.js @@ -221,6 +221,8 @@ function updateCountNum() { } function applyConnCount() { + $('[data-toggle="tooltip"]').tooltip('hide'); + $.ajax({ url: "active/get", global: true, @@ -243,7 +245,7 @@ function applyConnCount() { function refreshConnCount() { applyConnCount(); - setTimeout(refreshConnCount, 5000); + setTimeout(refreshConnCount, 10000); } function refreshToolTip() {