From c78a3e5ada02c136a126a8df467fb061044bfe6b Mon Sep 17 00:00:00 2001 From: FinnHornhoover Date: Sat, 21 Oct 2023 22:52:51 +0300 Subject: [PATCH] do not immediately start checking hashes --- assets/js/server-selector.js | 2 ++ index.html | 1 + 2 files changed, 3 insertions(+) diff --git a/assets/js/server-selector.js b/assets/js/server-selector.js index 84fbe14..cc6962c 100644 --- a/assets/js/server-selector.js +++ b/assets/js/server-selector.js @@ -415,7 +415,9 @@ function loadCacheList() { $("#cache-tablebody").append(row); }); +} +function startHashCheck() { setTimeout(function () { handleCache("hash-check"); }, 0); diff --git a/index.html b/index.html index 2fff090..bd77cf1 100644 --- a/index.html +++ b/index.html @@ -117,6 +117,7 @@ type="button" title="Edit Cache Storage" data-target="#of-editcacheconfigmodal" + onclick="startHashCheck()" >