projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd08e5
)
Associate NSFW label with its checkbox
author
Dominic Mazzoni
<dmazzoni@gmail.com>
Mon, 26 Jun 2023 04:11:23 +0000
(21:11 -0700)
committer
Jay Sitter
<jay@jaysitter.com>
Mon, 26 Jun 2023 22:30:31 +0000
(18:30 -0400)
src/shared/components/post/post-form.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/post/post-form.tsx
b/src/shared/components/post/post-form.tsx
index b71ef5477e0b28bb59ea862b3c23963dcd64f8ca..266843ef1e69e7912db292c13ddaff4ac50606d2 100644
(file)
--- a/
src/shared/components/post/post-form.tsx
+++ b/
src/shared/components/post/post-form.tsx
@@
-528,7
+528,7
@@
export class PostForm extends Component<PostFormProps, PostFormState> {
checked={this.state.form.nsfw}
onChange={linkEvent(this, handlePostNsfwChange)}
/>
- <label className="form-check-label">
+ <label className="form-check-label"
htmlFor="post-nsfw"
>
{I18NextService.i18n.t("nsfw")}
</label>
</div>