Skip to content

Commit

Permalink
Merge pull request #320 from ikemo3/fix/news-tab
Browse files Browse the repository at this point in the history
fix: 'News' tab does not work.
  • Loading branch information
ikemo3 authored May 21, 2021
2 parents 72356f0 + 2e9a398 commit 2b3b1a5
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 2b3b1a5

Please sign in to comment.