summaryrefslogtreecommitdiff
path: root/source/features/expand-all-hidden-comments.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-11-18 19:55:59 -0500
committerGravatar GitHub <noreply@github.com> 2020-11-18 18:55:59 -0600
commita935456acab0c7bdc021829e18ce20230e18c752 (patch)
treee61eed13a433381ba223a4ca962e904c8740fc91 /source/features/expand-all-hidden-comments.tsx
parentcab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff)
downloadrefined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.gz
refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.zst
refined-github-a935456acab0c7bdc021829e18ce20230e18c752.zip
Lint (#3723)20.11.19
Diffstat (limited to 'source/features/expand-all-hidden-comments.tsx')
-rw-r--r--source/features/expand-all-hidden-comments.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/expand-all-hidden-comments.tsx b/source/features/expand-all-hidden-comments.tsx
index d15c440b..9d379711 100644
--- a/source/features/expand-all-hidden-comments.tsx
+++ b/source/features/expand-all-hidden-comments.tsx
@@ -17,7 +17,7 @@ function handleAltClick(event: delegate.Event<MouseEvent, HTMLButtonElement>): v
const form = event.delegateTarget.form!;
const hiddenItemsCount = Math.min(
200, // https://github.com/sindresorhus/refined-github/issues/2931
- looseParseInt(form.textContent!)
+ looseParseInt(form)
);
const url = new URL(form.action);