Update index.js

This commit is contained in:
KOWX712
2024-11-06 20:24:55 +08:00
parent 5d14680bb9
commit 6bab7df285

View File

@@ -84,9 +84,9 @@ async function refreshAppList() {
appListContainer.innerHTML = ''; appListContainer.innerHTML = '';
loadingIndicator.style.display = 'flex'; loadingIndicator.style.display = 'flex';
await new Promise(resolve => setTimeout(resolve, 500)); await new Promise(resolve => setTimeout(resolve, 500));
loadingIndicator.style.display = 'none';
window.scrollTo(0, 0); window.scrollTo(0, 0);
await fetchAppList(); await fetchAppList();
loadingIndicator.style.display = 'none';
isRefreshing = false; isRefreshing = false;
} }