This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix(components/status): Up & down jump due to content being added to the DOM (
#3972
)
closed-social-v3
Sorin Davidoi
7 years ago
committed by
Eugen Rochko
parent
12e7c81dd8
commit
64d9c016bd
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/components/status.js
+ 1
- 1
app/javascript/mastodon/components/status.js
View File
@ -124,7 +124,7 @@ export default class Status extends ImmutablePureComponent {
saveHeight
=
(
)
=>
{
if
(
this
.
node
&&
this
.
node
.
children
.
length
!==
0
)
{
this
.
height
=
this
.
node
.
clientH
eight
;
this
.
height
=
this
.
node
.
getBoundingClientRect
(
)
.
h
eight
;
}
}
Write
Preview
Loading…
Cancel
Save