Skip to content

Commit

Permalink
Fix listPage and tweetPage retweeters checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Oct 13, 2020
1 parent 19b516f commit 070ab00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LikersBlocker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,17 @@ export default class LikersBlocker {
}

private get isListPage(): boolean {
return location.href.includes("status");
}

private get isTweetPage(): boolean {
return (
location.href.includes("list") &&
(location.href.endsWith("members") ||
location.href.endsWith("subscribers"))
);
}

private get isTweetPage(): boolean {
return location.href.includes("status");
}

private get limitMessage() {
if (this.isBlockPage) {
return `${browser.i18n.getMessage(
Expand Down

0 comments on commit 070ab00

Please sign in to comment.