summaryrefslogtreecommitdiff
path: root/source/features/collapse-markdown-sections.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2021-04-08 22:10:15 -0400
committerGravatar GitHub <noreply@github.com> 2021-04-08 22:10:15 -0400
commit4ff98524e61389fb7628e5816bfcdaac4e0f0cc6 (patch)
treedacd4f21ea7286723530350d38cfe27bb846a568 /source/features/collapse-markdown-sections.tsx
parent8eaad7215a10ab2ffc18bcbf3759a83eb01a49aa (diff)
downloadrefined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.tar.gz
refined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.tar.zst
refined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.zip
Lint (#4207)
Diffstat (limited to 'source/features/collapse-markdown-sections.tsx')
-rw-r--r--source/features/collapse-markdown-sections.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/collapse-markdown-sections.tsx b/source/features/collapse-markdown-sections.tsx
index 97ebf8d1..e96b6116 100644
--- a/source/features/collapse-markdown-sections.tsx
+++ b/source/features/collapse-markdown-sections.tsx
@@ -37,7 +37,7 @@ function onHeadingClick(event: delegate.Event<MouseEvent, HTMLElement>): void {
function init(): void {
delegate(document, '.markdown-body > :is(h1, h2, h3, h4, h5, h6)', 'click', onHeadingClick);
- document.body.classList.add('.rgh-' + __filebasename);
+ document.body.classList.add('rgh-' + __filebasename);
}
void features.add(__filebasename, {