From 9a89d7bfab1d7d3597f0c54176fc91e498fad5bc Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 13 May 2023 13:24:44 +0330 Subject: spin only in reload time Co-Authored-By: Alireza Ahmadi --- web/html/xui/inbounds.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/html') diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index a80fe79a..41942b74 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -343,7 +343,9 @@ return; } this.setInbounds(msg.obj); - this.refreshing = false; + setTimeout(() => { + this.refreshing = false; + }, 500); }, async getDefaultSettings() { const msg = await HttpUtil.post('/panel/setting/defaultSettings'); -- cgit v1.2.3