mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-25 06:40:15 +00:00
added more proper initial check handling
This commit is contained in:
parent
1c2cf41e97
commit
171177b606
@ -375,11 +375,6 @@ function loadCacheList() {
|
||||
storageLoadingComplete(cacheSizes);
|
||||
}
|
||||
|
||||
function startHashCheck() {
|
||||
// only run once
|
||||
if (!cacheSizes) handleCache("hash-check");
|
||||
}
|
||||
|
||||
function getCacheElemID(versionString, cacheMode, elementName) {
|
||||
return [versionString, cacheMode, "cache", elementName].filter(function (value) {
|
||||
return typeof value !== "undefined";
|
||||
@ -899,3 +894,7 @@ $("#of-deleteversionmodal").on("show.bs.modal", function (e) {
|
||||
})[0];
|
||||
$("#deleteversion-versionname").html(result.name);
|
||||
});
|
||||
|
||||
$("#of-editcacheconfigmodal").on("show.bs.modal", function (e) {
|
||||
if (!cacheSizes) handleCache("hash-check");
|
||||
});
|
||||
|
@ -117,7 +117,6 @@
|
||||
type="button"
|
||||
title="Edit Game Builds"
|
||||
data-target="#of-editcacheconfigmodal"
|
||||
onclick="startHashCheck()"
|
||||
>
|
||||
<i class="fas fa-database"></i>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user