Skip to content

Commit

Permalink
Merge pull request #10 from festoney8/dev
Browse files Browse the repository at this point in the history
merge dev to main, fix simple share typo
  • Loading branch information
festoney8 authored Dec 31, 2023
2 parents bc95cb6 + af6ca59 commit d7f4b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}】`
}
Expand Down

0 comments on commit d7f4b50

Please sign in to comment.