Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mastodon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Boudes
mastodon
Commits
32d756fb
Commit
32d756fb
authored
8 years ago
by
Effy Elden
Browse files
Options
Downloads
Patches
Plain Diff
Hide 'Do not display on public timeline' for reply toots. Fixes #412.
parent
f63f0c46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/assets/javascripts/components/features/compose/components/compose_form.jsx
+1
-1
1 addition, 1 deletion
...s/components/features/compose/components/compose_form.jsx
with
1 addition
and
1 deletion
app/assets/javascripts/components/features/compose/components/compose_form.jsx
+
1
−
1
View file @
32d756fb
...
...
@@ -139,7 +139,7 @@ const ComposeForm = React.createClass({
<
span
style
=
{
{
display
:
'
inline-block
'
,
verticalAlign
:
'
middle
'
,
marginBottom
:
'
14px
'
,
marginLeft
:
'
8px
'
,
color
:
'
#9baec8
'
}
}
><
FormattedMessage
id
=
'compose_form.private'
defaultMessage
=
'Mark as private'
/></
span
>
</
label
>
<
Motion
defaultStyle
=
{
{
opacity
:
this
.
props
.
private
?
0
:
100
,
height
:
this
.
props
.
private
?
39.5
:
0
}
}
style
=
{
{
opacity
:
spring
(
this
.
props
.
private
?
0
:
100
),
height
:
spring
(
this
.
props
.
private
?
0
:
39.5
)
}
}
>
<
Motion
defaultStyle
=
{
{
opacity
:
(
this
.
props
.
private
||
this
.
props
.
in_reply_to
)
?
0
:
100
,
height
:
(
this
.
props
.
private
||
this
.
props_in_reply_to
)
?
39.5
:
0
}
}
style
=
{
{
opacity
:
spring
(
(
this
.
props
.
private
||
this
.
props
.
in_reply_to
)
?
0
:
100
),
height
:
spring
(
(
this
.
props
.
private
||
this
.
props_in_reply_to
)
?
0
:
39.5
)
}
}
>
{
({
opacity
,
height
})
=>
<
label
style
=
{
{
display
:
'
block
'
,
lineHeight
:
'
24px
'
,
verticalAlign
:
'
middle
'
,
height
:
`
${
height
}
px`
,
overflow
:
'
hidden
'
,
opacity
:
opacity
/
100
}
}
>
<
Toggle
checked
=
{
this
.
props
.
unlisted
}
onChange
=
{
this
.
handleChangeListability
}
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment