MailChimp

This commit is contained in:
tangly1024.com
2023-07-04 12:39:18 +08:00
parent 26f6b2d85f
commit 194cd7ac7d
57 changed files with 361 additions and 235 deletions

View File

@@ -19,7 +19,7 @@ export const LayoutSearch = (props) => {
useEffect(() => {
setTimeout(() => {
const container = isBrowser() && document.getElementById('container')
const container = isBrowser() && document.getElementById('posts-wrapper')
if (container && container.innerHTML) {
const re = new RegExp(currentSearch, 'gim')
const instance = new Mark(container)