openfree commited on
Commit
8486144
·
verified ·
1 Parent(s): 0212073

feat: 이미지 생성 안내 "약 10초만 기다려주세요"

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -627,7 +627,7 @@ async function genImage() {
627
  let sec = 0;
628
  if (imgStatus) {
629
  imgStatus.hidden = false;
630
- imgStatus.innerHTML = '<span class="img-hourglass">⏳</span> 이미지를 그리는 중입니다 <b id="img-sec">0</b>초';
631
  }
632
  if (imgTimer) clearInterval(imgTimer);
633
  imgTimer = setInterval(() => { sec++; const e = document.getElementById("img-sec"); if (e) e.textContent = sec; }, 1000);
 
627
  let sec = 0;
628
  if (imgStatus) {
629
  imgStatus.hidden = false;
630
+ imgStatus.innerHTML = '<span class="img-hourglass">⏳</span> 이미지를 그리는 중입니다 <strong>약 10초만 기다려주세요</strong> (<b id="img-sec">0</b>초)';
631
  }
632
  if (imgTimer) clearInterval(imgTimer);
633
  imgTimer = setInterval(() => { sec++; const e = document.getElementById("img-sec"); if (e) e.textContent = sec; }, 1000);