diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index d00a9bf5c6..f1e92d26bd 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -251,7 +251,7 @@ class Status extends ImmutablePureComponent { // as it could cause surprising changes when receiving notifications if (settings.getIn(['content_warnings', 'shared_state']) && status.get('spoiler_text').length && !status.get('hidden')) return; - let autoCollapseHeight = autoCollapseSettings.get('height'); + let autoCollapseHeight = parseInt(autoCollapseSettings.get('height')); if (status.get('media_attachments').size && !muted) { autoCollapseHeight += 300; }