From f900c90d88fdafb14da2dbffaa93c1e876d28e84 Mon Sep 17 00:00:00 2001 From: OpenClaw Agent Date: Wed, 29 Apr 2026 12:07:35 +0200 Subject: [PATCH] Remove unused Channels widget under video (was placeholder for old AdSense slot) --- public/app.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/public/app.js b/public/app.js index ec567f1..2a7c21f 100644 --- a/public/app.js +++ b/public/app.js @@ -109,16 +109,6 @@ function renderHome() {
-
-
Channels
-
    - ${CHANNELS.map(c => ` -
  1. - ${escapeHtml(c.name)} -
  2. - `).join('')} -
-
@@ -140,11 +130,11 @@ function renderHome() { showSelectChannelBox(); - // channel click handlers (sidebar + bottom list) - main.querySelectorAll('[data-channel], [data-channel-link]').forEach(a => { + // channel click handlers (sidebar) + main.querySelectorAll('[data-channel]').forEach(a => { a.addEventListener('click', (e) => { e.preventDefault(); - const key = a.getAttribute('data-channel') || a.getAttribute('data-channel-link'); + const key = a.getAttribute('data-channel'); playChannel(key); }); });