From 937e6b8ea623df2d31771f7dcf8343eb37742585 Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Thu, 27 Aug 2026 11:36:11 -0500 Subject: [PATCH] push --- web/css/pages.css | 1 - web/js/cards.js | 2 +- web/js/watch.js | 6 +++--- web/watch.html | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/web/css/pages.css b/web/css/pages.css index d2cd3ee..02121ff 100644 --- a/web/css/pages.css +++ b/web/css/pages.css @@ -129,7 +129,6 @@ .hero__dot { color: rgba(255, 255, 255, 0.35); - height: 1px !important; } .hero__meta .badge { diff --git a/web/js/cards.js b/web/js/cards.js index cff28fd..21a6f7b 100644 --- a/web/js/cards.js +++ b/web/js/cards.js @@ -143,7 +143,7 @@ `${esc(typeLabel)}`, ] .filter(Boolean) - .join('·'); + .join('·'); slide.innerHTML = ` diff --git a/web/js/watch.js b/web/js/watch.js index fb330e0..8b5c2f0 100644 --- a/web/js/watch.js +++ b/web/js/watch.js @@ -816,12 +816,13 @@ } playButton.addEventListener('click', () => { - if (state.episode == null) { + if (type === 'tv' && state.episode == null) { if (state.episodes.length) playEpisode(state.episodes[0].episode_number); return; } if (state.loadedKey === keyFor() && state.streams.length) { openPlayer(); + video.play().catch(() => {}); return; } openPlayer(); @@ -844,8 +845,7 @@ renderHero(details); if (type !== 'tv') { - openPlayer(); - loadStreams(); + setPlayLabel(); return; } diff --git a/web/watch.html b/web/watch.html index aa025fa..c5188f3 100644 --- a/web/watch.html +++ b/web/watch.html @@ -130,6 +130,6 @@ - +