Skip to content

Commit

Permalink
fix: 'News' tab does not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikemo3 committed May 21, 2021
1 parent 72356f0 commit 2e9a398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/block/google_news_tab_top.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class GoogleNewsTabTop extends SearchResultToBlock {
}

static isCandidate(element: Element, documentURL: DocumentURL): boolean {
return element.matches('div.gG0TJc') && documentURL.isGoogleSearchNewsTab();
return element.matches('div.nChh6e') && documentURL.isGoogleSearchNewsTab();
}

// noinspection DuplicatedCode
Expand Down

0 comments on commit 2e9a398

Please sign in to comment.