Spaces:
Running
Running
Hide the illustrative raw->shown prompt box on the bundled demo (no prompt text there)
Browse files
static/live_fingerprint.html
CHANGED
|
@@ -645,6 +645,11 @@ const EMBED=PARAMS.has("embed");
|
|
| 645 |
// one anonymized, atoms-only session exported through to_shareable. It carries no
|
| 646 |
// prompt text, code, or paths, so it is safe to ship.
|
| 647 |
const WANT_DEMO=PARAMS.has("demo");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 648 |
if(EMBED){
|
| 649 |
const tb=document.querySelector(".topbar"); if(tb)tb.style.display="none";
|
| 650 |
const nv=document.querySelector(".nav"); if(nv)nv.style.display="none";
|
|
|
|
| 645 |
// one anonymized, atoms-only session exported through to_shareable. It carries no
|
| 646 |
// prompt text, code, or paths, so it is safe to ship.
|
| 647 |
const WANT_DEMO=PARAMS.has("demo");
|
| 648 |
+
// The bundled demo carries no prompt text, so the illustrative raw->shown
|
| 649 |
+
// normalization example would contradict its "atoms only" framing -- drop it.
|
| 650 |
+
if(WANT_DEMO){
|
| 651 |
+
const pb=document.querySelector(".parabox"); if(pb)pb.style.display="none";
|
| 652 |
+
}
|
| 653 |
if(EMBED){
|
| 654 |
const tb=document.querySelector(".topbar"); if(tb)tb.style.display="none";
|
| 655 |
const nv=document.querySelector(".nav"); if(nv)nv.style.display="none";
|