Skip to content

A platform for community discussion. Free, open, simple.

FIX: don't hide back button at the bottom of timeline (#7544)

Maja Komel9a17b196365a
diff --git a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6
index d5d7ff074af..ef8bfed2e3f 100644
--- a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6
+++ b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6
@@ -216,11 +216,6 @@ createWidget("timeline-scrollarea", {
);
showButton =
before + SCROLLER_HEIGHT - 5 < lastReadTop || before > lastReadTop + 25;
-
- // Don't show if at the bottom of the timeline
- if (lastReadTop > scrollareaHeight() - LAST_READ_HEIGHT / 2) {
- showButton = false;
- }
}
const result = [