nav: hide title text when green Enter button appears on overlay
This commit is contained in:
@@ -120,6 +120,8 @@ cat > /opt/portal/index.html <<HTML
|
||||
setTimeout(() => {
|
||||
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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user