diff --git a/server/public/home.html b/server/public/home.html
index 2f8da8d..7d9c103 100644
--- a/server/public/home.html
+++ b/server/public/home.html
@@ -1158,7 +1158,7 @@
-

Biz Connect
Loading…
@@ -4984,6 +5000,7 @@ window.addEventListener('popstate', ()=>{ if(bzcBack()){ try{ history.pushState(
document.body.classList.add('chat-dragging');
if(content) content.style.transition='none';
if(chatcol) chatcol.style.transition='none';
+ if(window.bzDbg) window.bzDbg('swipe',{s:'confirm',hasC:content?1:0,hasL:chatcol?1:0,sx:Math.round(sx),dx:Math.round(dx),w:Math.round(w),cCls:content?String(content.className).slice(0,20):'NULL'}); // TEMP
} else return;
}
e.preventDefault(); // needs passive:false — claims the gesture
@@ -4995,6 +5012,7 @@ window.addEventListener('popstate', ()=>{ if(bzcBack()){ try{ history.pushState(
if(!dragging){ armed=false; return; }
const t=(e.changedTouches&&e.changedTouches[0]);
const dx=t?Math.max(0,t.clientX-sx):0, dt=Math.max(1,Date.now()-t0), v=dx/dt;
+ if(window.bzDbg) window.bzDbg('swipe',{s:'end',dx:Math.round(dx),w:Math.round(w),v:Math.round(v*100)/100,done:(dx>w*0.35||(v>0.5&&dx>40))?1:0}); // TEMP
if(dx>w*0.35 || (v>0.5 && dx>40)){ // complete the pop
if(content){ content.style.transition='transform .17s cubic-bezier(.4,0,.7,.4)'; content.style.transform='translate3d(100%,0,0)'; }
if(chatcol){ chatcol.style.transition='transform .17s cubic-bezier(.4,0,.7,.4)'; chatcol.style.transform='translate3d(0,0,0)'; }