From f1449460d01b01873685e32ad7ae9cd03e1151a1 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Mon, 20 Jul 2026 19:27:09 +0000 Subject: [PATCH] nav: hide title text when green Enter button appears on overlay --- rdp-proxy/entrypoint.sh | 2 ++ universal-runtime/entrypoint.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rdp-proxy/entrypoint.sh b/rdp-proxy/entrypoint.sh index 4053da1..0077b4e 100644 --- a/rdp-proxy/entrypoint.sh +++ b/rdp-proxy/entrypoint.sh @@ -120,6 +120,8 @@ cat > /opt/portal/index.html < { const hint = document.getElementById('co-hint'); if (hint) hint.style.display = 'block'; + const title = document.querySelector('.co-title'); + if (title) title.style.display = 'none'; coEl.addEventListener('pointerdown', function onCoClick() { coEl.removeEventListener('pointerdown', onCoClick); if (!document.fullscreenElement) { diff --git a/universal-runtime/entrypoint.sh b/universal-runtime/entrypoint.sh index bb99282..2cc46ad 100755 --- a/universal-runtime/entrypoint.sh +++ b/universal-runtime/entrypoint.sh @@ -102,6 +102,8 @@ cat > /opt/portal/index.html <<'HTML' overlayHidden = true; const hint = document.getElementById('co-hint'); if (hint) hint.style.display = 'block'; + const title = document.querySelector('.co-title'); + if (title) title.style.display = 'none'; coEl.addEventListener('pointerdown', function onCoClick() { coEl.removeEventListener('pointerdown', onCoClick); if (!document.fullscreenElement) {