From 4fba3b24a29960f9f29126e0cf595035813a9ab6 Mon Sep 17 00:00:00 2001 From: haoouba <2323333339@qq.com> Date: Thu, 18 Feb 2021 13:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/joe.post&page.js | 3 --- public/article.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/assets/js/joe.post&page.js b/assets/js/joe.post&page.js index f380722..02bba19 100644 --- a/assets/js/joe.post&page.js +++ b/assets/js/joe.post&page.js @@ -159,9 +159,6 @@ document.addEventListener('DOMContentLoaded', () => { $(this).addClass('active').siblings().removeClass('active') const url = $(this).attr('data-src') $('.joe_detail__article-video .play iframe').attr({ src: player + url }) - $('.joe_detail__article-video .play .title').html('正在播放:' + $(this).html()) - const offset = $('.joe_detail__article-video .play').offset().top - $('.joe_header').height() - 15 - window.scrollTo({ top: offset, behavior: 'smooth' }) }) $('.joe_detail__article-video .episodes .item').first().click() } diff --git a/public/article.php b/public/article.php index b18b71c..beef2a2 100644 --- a/public/article.php +++ b/public/article.php @@ -43,7 +43,7 @@ hidden && $this->fields->video) : ?>