Fix assumed height of media for auto-collapse heigh calculations (I typo'd the original mod, whoops!) (#11)
parent
0fce108d21
commit
998f701a2b
|
@ -253,7 +253,7 @@ class Status extends ImmutablePureComponent {
|
||||||
|
|
||||||
let autoCollapseHeight = parseInt(autoCollapseSettings.get('height'));
|
let autoCollapseHeight = parseInt(autoCollapseSettings.get('height'));
|
||||||
if (status.get('media_attachments').size && !muted) {
|
if (status.get('media_attachments').size && !muted) {
|
||||||
autoCollapseHeight += 300;
|
autoCollapseHeight += 210;
|
||||||
}
|
}
|
||||||
if (collapse ||
|
if (collapse ||
|
||||||
autoCollapseSettings.get('all') ||
|
autoCollapseSettings.get('all') ||
|
||||||
|
|
Loading…
Reference in New Issue