افزودن لودینگ
Verify / test (push) Canceled after 1m7s

This commit is contained in:
2026-11-07 15:05:32 +03:30
والد 8d5dfa971b
کامیت f5da7ee41b
3فایلهای تغییر یافته به همراه9 افزوده شده و 2 حذف شده
+5 -1
مشاهده پرونده
@@ -46,6 +46,7 @@ async function start() {
viewport.append(svg);
await document.fonts.ready;
viewport.style.backgroundColor = background;
state.classList.remove('loading');
state.textContent = '';
paint();
viewport.addEventListener('wheel', e => {
@@ -93,4 +94,7 @@ async function start() {
}
expire();
}
start().catch(e => { if (e.name !== 'AbortError') state.textContent = e.message; });
start().catch(e => {
state.classList.remove('loading');
state.textContent = e.name === 'AbortError' ? '' : e.message;
});