diff --git a/src/pages/video.ts b/src/pages/video.ts index 6b8d447d..ae3eb739 100644 --- a/src/pages/video.ts +++ b/src/pages/video.ts @@ -64,8 +64,8 @@ function simpleShare() { shareBtn.addEventListener('click', () => { let title = document.querySelector('#viewbox_report > h1')?.textContent as string if ( - !'(({【[[《「<{〔〖<〈『'.includes(title[0]) || - '))}】]]》」>}〕〗>〉』'.includes(title.slice(-1)) + !'(({【[[《「<{〔〖<〈『'.includes(title[0]) && + !'))}】]]》」>}〕〗>〉』'.includes(title.slice(-1)) ) { title = `【${title}】` }