diff --git a/pb_public/index.html b/pb_public/index.html index 6aa9cb5..d4f4c3b 100644 --- a/pb_public/index.html +++ b/pb_public/index.html @@ -186,8 +186,9 @@
- + +
@@ -546,6 +547,16 @@ async function enter(){ loadProviders(), loadConfigList()]); $("acEmail").value=(USER&&USER.email)||""; $("acRating").value=(USER&&USER.ratingDefault)||"unrestricted"; + // **Do not mention 18+ to an account that does not have it.** This label used to + // read "skryje anime a 18+" for everyone, which told most of the household that a + // section they have never seen and cannot reach exists at all. Three of the four + // accounts are `nsfwEnabled = false`, and for them the sentence was also simply + // untrue: there is no 18+ content to hide. The adult source field on the Zdroje + // tab has always been gated on the same flag; this label was the one place that + // was not. + $("pfChildLabel").textContent = (USER && USER.nsfwEnabled) + ? "Dětský profil (skryje anime a 18+, na odchod chce PIN)" + : "Dětský profil (skryje anime, na odchod chce PIN)"; renderAddonGate(); renderStart(); // An explicit #hash always wins — a bookmark or a link must land where it says.