Commit 38d72736d1
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/search/Search.vue +1 −1
| @@ -848,7 +848,7 @@ function buildDocExcerpt(docId: string): Promise<void> { | |||
| 848 | const headings = div.querySelectorAll('h1, h2, h3, h4, h5, h6') | 848 | const headings = div.querySelectorAll('h1, h2, h3, h4, h5, h6') |
| 849 | div.querySelectorAll<HTMLInputElement>('.table-more-checkbox').forEach( | 849 | div.querySelectorAll<HTMLInputElement>('.table-more-checkbox').forEach( |
| 850 | (box) => { | 850 | (box) => { |
| 851 | box.checked = true | 851 | box.setAttribute('checked', '') |
| 852 | } | 852 | } |
| 853 | ) | 853 | ) |
| 854 | headings.forEach((heading) => { | 854 | headings.forEach((heading) => { |