From 9c3219f20350c3381a7b555d8b461dd30a2cd32f Mon Sep 17 00:00:00 2001 From: FinnHornhoover Date: Sat, 21 Oct 2023 23:12:17 +0300 Subject: [PATCH] removed redundant function --- assets/js/server-selector.js | 6 ------ index.html | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/assets/js/server-selector.js b/assets/js/server-selector.js index cc6962c..a216fcd 100644 --- a/assets/js/server-selector.js +++ b/assets/js/server-selector.js @@ -417,12 +417,6 @@ function loadCacheList() { }); } -function startHashCheck() { - setTimeout(function () { - handleCache("hash-check"); - }, 0); -} - function performCacheSwap(newVersion) { var currentCache = path.join(cacheRoot, "FusionFall"); var newCache = path.join(cacheRoot, newVersion); diff --git a/index.html b/index.html index 4d55a06..e646980 100644 --- a/index.html +++ b/index.html @@ -117,7 +117,7 @@ type="button" title="Edit Cache Storage" data-target="#of-editcacheconfigmodal" - onclick="startHashCheck()" + onclick="handleCache('hash-check')" >