Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
 
root / src / power / p-ws-server.c
Author[]Andy Green <andy@warmcat.com> 2026-06-20 10:16 UTC
Committer[]Andy Green <andy@warmcat.com> 2026-06-20 10:16 UTC
Tree9d873e49d5f279ff16e1183a7085b3edda20768a   Raw Patch
 
fix event deletion
fix event deletion
diff --git a/assets/sai.js b/assets/sai.js index 78f0137..6869e0c 100644 --- a/assets/sai.js +++ b/assets/sai.js @@ -2529,8 +2529,9 @@ function ws_open_sai() tr.style.transition = 'opacity 0.3s'; tr.style.opacity = '0'; setTimeout(function() { - if (tr && tr.parentNode) { - tr.parentNode.removeChild(tr); + var tbody = document.getElementById("ev-group-" + uuid); + if (tbody && tbody.parentNode) { + tbody.parentNode.removeChild(tbody); } }, 300); }
Page fetched 0s ago, creation time: 9ms (vhost etag hits: 0%, cache hits: 0%)