HarbourSOFT commited on
Commit
8f84bc2
·
verified ·
1 Parent(s): 4c0002a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -4
index.html CHANGED
@@ -186,11 +186,11 @@ def f(nums):
186
 
187
  // ================= Utils =================
188
  function log(...a){
189
- const s=a.map(x=>typeof x==='string'?x:JSON.stringify(x)).join(' ');
190
  logDiv.textContent += s + '
191
  ';
192
- logDiv.scrollTop=logDiv.scrollHeight;
193
- console.log('[LOG]',...a);
194
  }
195
  function chip(kind,text){ statusChip.className='chip '+(kind||''); statusChip.textContent=text; statusChip.style.display='inline-flex'; }
196
  function clearChip(){ statusChip.style.display='none'; }
@@ -303,4 +303,4 @@ ${user}
303
  stopBtn.addEventListener('click',()=>{ try{ abortGen?.abort(); }catch{} });
304
  </script>
305
  </body>
306
- </html>
 
186
 
187
  // ================= Utils =================
188
  function log(...a){
189
+ const s = a.map(x => (typeof x === 'string' ? x : JSON.stringify(x))).join(' ');
190
  logDiv.textContent += s + '
191
  ';
192
+ logDiv.scrollTop = logDiv.scrollHeight;
193
+ console.log('[LOG]', ...a);
194
  }
195
  function chip(kind,text){ statusChip.className='chip '+(kind||''); statusChip.textContent=text; statusChip.style.display='inline-flex'; }
196
  function clearChip(){ statusChip.style.display='none'; }
 
303
  stopBtn.addEventListener('click',()=>{ try{ abortGen?.abort(); }catch{} });
304
  </script>
305
  </body>
306
+ </html>