From e980ca5d65efd79f17ed3630dbd993b6cea7357b 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 b4d17da..4d55a06 100644 --- a/index.html +++ b/index.html @@ -117,6 +117,7 @@ type="button" title="Edit Cache Storage" data-target="#of-editcacheconfigmodal" + onclick="startHashCheck()" >