Skip to content

Commit

Permalink
fix: search page video filter
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Sep 5, 2024
1 parent 2609ee7 commit ae2a5ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.11.1

- 更新:播放页 评论区过滤适配页面变化
- 修复:搜索页 视频过滤偶尔不触发问题

## 3.11.0

Expand Down
4 changes: 2 additions & 2 deletions src/filters/video/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ if (isPageSearch()) {
}

try {
waitForEle(document, '.search-content', (node: HTMLElement): boolean => {
return node.className.includes('search-content')
waitForEle(document, '.search-layout', (node: HTMLElement): boolean => {
return node.className.includes('search-layout')
}).then((ele) => {
if (ele) {
vlc = ele
Expand Down

0 comments on commit ae2a5ea

Please sign in to comment.